Sfoglia il codice sorgente

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

yxh 4 anni fa
parent
commit
fab07ce988
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
 		return
 	}
 	}
 	//获取地址对应的菜单id
 	//获取地址对应的菜单id
-	menuList, err := Rule().GetIsMenuList(ctx)
+	menuList, err := Rule().GetMenuList(ctx)
 	if err != nil {
 	if err != nil {
 		g.Log().Error(ctx, err)
 		g.Log().Error(ctx, err)
 		libResponse.FailJson(true, r, "请求数据失败")
 		libResponse.FailJson(true, r, "请求数据失败")