升级.net8
This commit is contained in:
@ -76,7 +76,6 @@ namespace HT.Cloud.Web
|
||||
operatorModel.WxOpenId = userEntity.F_WxOpenId;
|
||||
operatorModel.IsAdmin = userEntity.F_IsAdmin.Value;
|
||||
operatorModel.IsBoss = userEntity.F_IsBoss.Value;
|
||||
operatorModel.IsLeaderInDepts = userEntity.F_IsLeaderInDepts.Value;
|
||||
operatorModel.IsSenior = userEntity.F_IsSenior.Value;
|
||||
SystemSetEntity setEntity = await _setService.GetForm(userEntity.F_CompanyId);
|
||||
operatorModel.DbNumber = setEntity.F_DbNumber;
|
||||
|
@ -100,8 +100,8 @@ namespace HT.Cloud.Web.Controllers
|
||||
}
|
||||
Dictionary<string, bool> dictionary = new Dictionary<string, bool>();
|
||||
var list = await _roleAuthorizeService.GetMenuList(roleId);
|
||||
foreach (ModuleEntity item in list.Where(a => a.F_UrlAddress != null))
|
||||
{
|
||||
foreach (ModuleEntity item in list.Where(a => !string.IsNullOrEmpty(a.F_UrlAddress)))
|
||||
{
|
||||
dictionary.Add(item.F_UrlAddress, item.F_IsFields ?? false);
|
||||
}
|
||||
return dictionary;
|
||||
|
@ -180,7 +180,6 @@ namespace HT.Cloud.Web.Controllers
|
||||
operatorModel.IsSuperAdmin = userEntity.F_IsAdmin.Value;
|
||||
operatorModel.IsAdmin = userEntity.F_IsAdmin.Value;
|
||||
operatorModel.IsBoss = userEntity.F_IsBoss.Value;
|
||||
operatorModel.IsLeaderInDepts = userEntity.F_IsLeaderInDepts.Value;
|
||||
operatorModel.IsSenior = userEntity.F_IsSenior.Value;
|
||||
SystemSetEntity setEntity = await _setService.GetForm(userEntity.F_CompanyId);
|
||||
operatorModel.DbNumber = setEntity.F_DbNumber;
|
||||
|
Reference in New Issue
Block a user