add jwt / complete the rotation verification

This commit is contained in:
landaiqing
2024-08-12 22:05:59 +08:00
parent 54f6256c00
commit 48c5aeb0f4
31 changed files with 1702 additions and 44 deletions

View File

@@ -22,7 +22,9 @@ func InitRouter() *gin.Engine {
// 国际化设置
publicGroup.Use(middleware.I18n())
modules.SwaggerRouter(router) // 注册swagger路由
modules.AuthRouter(publicGroup) // 注册鉴权路由
modules.SwaggerRouter(router) // 注册swagger路由
modules.AuthRouter(publicGroup) // 注册鉴权路由
modules.CaptchaRouter(publicGroup) // 注册验证码路由
modules.SmsRouter(publicGroup) // 注册短信验证码路由
return router
}