update:删除原先获取角色权限得代码
This commit is contained in:
@@ -88,8 +88,7 @@ namespace Ewide.Core.Controller
|
||||
List<string> areaCodeList = null;
|
||||
if (!_userManager.SuperAdmin)
|
||||
{
|
||||
var orgIdList = await _sysUserService.GetUserDataScopeIdList();
|
||||
areaCodeList = await _areaCodeService.GetAreaCodeListByOrgId(orgIdList);
|
||||
areaCodeList = await _userManager.GetUserAllAreaList();
|
||||
}
|
||||
return await _areaCodeService.GetAreaCodeTree(level, areaCodeList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user