fix 修复已知问题
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user