Explorar o código

Merge branch 'master' of http://git.qjit.cn/gfast-plugins/gfast-v3

yxh %!s(int64=4) %!d(string=hai) anos
pai
achega
fab07ce988
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/app/system/service/middleware.go

+ 1 - 1
internal/app/system/service/middleware.go

@@ -83,7 +83,7 @@ func (s *middlewareImpl) Auth(r *ghttp.Request) {
 		return
 	}
 	//获取地址对应的菜单id
-	menuList, err := Rule().GetIsMenuList(ctx)
+	menuList, err := Rule().GetMenuList(ctx)
 	if err != nil {
 		g.Log().Error(ctx, err)
 		libResponse.FailJson(true, r, "请求数据失败")