feat(auth): 重构认证模块,添加登录和检查Token功能,更新路由和数据结构

This commit is contained in:
2025-12-30 18:12:22 +08:00
parent 6d7f4ad1c6
commit 179b6aa0e2
8 changed files with 136 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
package auth
func (r *Routes) Path() string {
return "/auth"
return "/v1/auth"
}
func (r *Routes) Middlewares() []any {