路由菜单按权限加载

pull/4/head
wangpeng 2024-02-06 10:54:53 +08:00
parent 3a0afb43ef
commit ba9618f0a2
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class MainController extends BaseController {
}
}
if (menuList.get(i).isHasMenu()) { //判断是否有此菜单权限
this.readRoute(USERNAME, menuList.get(i).getChildren(), roleRights, arrayRoleRights, shiroSet, uqxmap, uqxmap2, false);//是:继续排查其子菜单
this.readRoute(USERNAME, menuList.get(i).getChildren(), roleRights, arrayRoleRights, shiroSet, uqxmap, uqxmap2, true);//是:继续排查其子菜单
}
}
return menuList;