From 3c07a26d113a71bfdb970c0ed3b989bedeeea12d Mon Sep 17 00:00:00 2001 From: dengbiao Date: Fri, 25 Oct 2024 16:53:06 +0800 Subject: [PATCH] update --- app/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/router.go b/app/router/router.go index de6d176..f0dc0e2 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -67,11 +67,11 @@ func route(r *gin.RouterGroup) { } r.Use(mw.CheckBody) // body参数转换 r.Use(mw.CheckSign) // 签名校验 - r.GET("/loginInfo", hdl.LoginInfo) rComm(r.Group("/comm")) r.Use(mw.Auth) // 以下接口需要JWT验证 + r.GET("/loginInfo", hdl.LoginInfo) r.Use(mw.CheckPermission) // 检测权限 rRole(r.Group("/role")) // 权限管理