forked from integrated_whb/integrated_whb
路由菜单按权限加载
parent
3a0afb43ef
commit
ba9618f0a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue