升级.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

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