fix 修复已知问题

This commit is contained in:
2024-08-19 14:17:15 +08:00
parent e99e7a01ee
commit 9c5d1b558f
5 changed files with 14 additions and 8 deletions

View File

@@ -143,7 +143,7 @@ public class MenuService : IMenuService
if (!allCodes.Any())
{
//todo 管理员
if (_currentUser.GetName() == "admin")
if (_currentUser.GetIntSubjectId() == 1)
{
return await GetListAsync(PlatformEnumType.PCAdmin);
}