Feat: finish login and add test

This commit is contained in:
2025-12-07 17:42:28 +08:00
parent 2eb8a18c40
commit 3970dd5ebd
15 changed files with 110 additions and 41 deletions

View File

@@ -246,11 +246,8 @@ const docTemplate = `{
}
],
"responses": {
"302": {
"description": "redirect to root page",
"schema": {
"type": "string"
}
"200": {
"description": "OK"
}
}
}

View File

@@ -238,11 +238,8 @@
}
],
"responses": {
"302": {
"description": "redirect to root page",
"schema": {
"type": "string"
}
"200": {
"description": "OK"
}
}
}

View File

@@ -191,8 +191,6 @@ paths:
schema:
$ref: '#/definitions/auth.postLoginInput'
responses:
"302":
description: redirect to root page
schema:
type: string
"200":
description: OK
swagger: "2.0"