验证码redis

This commit is contained in:
xiangheng
2023-11-28 14:55:42 +08:00
parent 59fecd61c1
commit 22daf15440
5 changed files with 32 additions and 22 deletions

View File

@@ -30,7 +30,7 @@ func initRouter() *gin.Engine {
}
// 特殊异常处理
router.NoMethod(response.NoMethod)
router.NoRoute(response.NoRoute)
// router.NoRoute(response.NoRoute)
// 注册路由
group := router.Group("/api")