add: some user api and all api desc

This commit is contained in:
wwweww
2026-02-27 19:17:01 +08:00
parent a0c720eb2f
commit 5930fb0dde
156 changed files with 9457 additions and 1086 deletions
+13 -1
View File
@@ -25,6 +25,18 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
},
}...,
),
rest.WithPrefix("/api/email"),
rest.WithPrefix("/api/v1/email"),
)
server.AddRoutes(
[]rest.Route{
{
// 忘记密码-发送验证码
Method: http.MethodPost,
Path: "/forgot-password/send",
Handler: email.ForgotPasswordHandler(serverCtx),
},
},
rest.WithPrefix("/api/v1/auth"),
)
}