只要管理员角色就可以给分配角色菜单权限
This commit is contained in:
parent
071c05264f
commit
2a14724473
@ -47,7 +47,8 @@ namespace ZR.Service
|
||||
public List<SysMenu> SelectMenuList(SysMenu menu, long userId)
|
||||
{
|
||||
List<SysMenu> menuList;
|
||||
if (SysUser.IsAdmin(userId))
|
||||
//if (SysUser.IsAdmin(userId))
|
||||
if (SysRoleService.IsAdmin(userId))
|
||||
{
|
||||
menuList = MenuRepository.SelectMenuList(menu);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user