fix: issues

This commit is contained in:
2025-12-20 14:11:44 +08:00
parent 88d42470c4
commit 8e95dada82
17 changed files with 95 additions and 87 deletions

View File

@@ -28,7 +28,7 @@ type TokenResponse struct {
// @Produce json
// @Param body body AuthBody true "请求体"
// @Success 200 {object} TokenResponse "成功"
// @Router /admin/auth [post]
// @Router /admin/v1/auth [post]
// @Bind body body
func (ctl *auth) Login(ctx fiber.Ctx, body *AuthBody) (*TokenResponse, error) {
if body.Username == "pl.yang" && body.Password == "Xixi@0202" {