更新依赖项,添加单元测试,优化用户信息和令牌管理功能,增强中间件以支持 JWT 验证,新增访问令牌模型并更新数据库迁移。

This commit is contained in:
2025-04-17 02:04:52 +08:00
parent 83c82f7135
commit d06e45e5d4
10 changed files with 482 additions and 14 deletions

View File

@@ -11,5 +11,6 @@ func AutoMigrate(db *gorm.DB) error {
&Client{},
&AuthorizationCode{},
&Admin{},
&AccessToken{},
)
}