2021与蓝度共同重构项目,服务端
fix
zhanzhiqin
2022-05-27 75072002f353a34ca0de4f8aaad04c8d1841407c
ximon-admin/src/main/java/com/sandu/ximon/admin/service/ClientService.java
@@ -74,8 +74,8 @@
        if (role == null) {
            throw new BusinessException("角色不存在");
        }
        if (!RoleLevelStatus.NORMAL.getCode().equals(role.getLevel())) {
            throw new BusinessException("无法添加超级管理员或用户管理员");
        if (RoleLevelStatus.SUPER.getCode().equals(role.getLevel())) {
            throw new BusinessException("无法添加超级管理员");
        }