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

@@ -18,8 +18,8 @@ type postLoginInput struct {
// PostLogin
//
// @param payload body postLoginInput true "payload"
// @success 302 {object} string "redirect to root page"
// @param payload body postLoginInput true "payload"
// @success 200
// @router /auth/login [post]
func (self *Handlers) PostLogin(
w http.ResponseWriter, req bunrouter.Request,