学制角色类型

This commit is contained in:
2026-08-17 09:45:16 +08:00
parent ae554d7aa2
commit 823330cdfb
2 changed files with 1 additions and 9 deletions
@@ -80,7 +80,7 @@ public class SchsystemController {
UserContext.UserInfo user= UserContext.getCurrentUser();
// 2. 角色权限校验
int roleId = user.getRoleId();
Integer roleId = user.getRoleId();
boolean isSuperAdmin = UserType.SUPER_ADMINISTRATOR.getId().equals(UserContext.getType());
boolean isAreaAdmin = UserRole.AREAADMIN.getValue().equals(roleId);