升级.net8

This commit is contained in:
dell
2024-11-14 09:01:55 +08:00
parent 48e9e27fa0
commit abf72c3d58
86 changed files with 14229 additions and 10612 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;