mirror of
https://github.com/mfish-qf/mfish-nocode.git
synced 2026-09-24 15:45:53 +08:00
feat: 增加组织设置角色逻辑
This commit is contained in:
@@ -117,6 +117,9 @@ public class SsoOrgServiceImpl extends ServiceImpl<SsoOrgMapper, SsoOrg> impleme
|
||||
throw new MyRuntimeException("错误:手机号不正确");
|
||||
}
|
||||
}
|
||||
if (AuthInfoUtils.isContainSuperAdmin(ssoOrg.getRoleIds())) {
|
||||
throw new MyRuntimeException("错误:不允许设置为超户!");
|
||||
}
|
||||
return Result.ok("组织校验成功");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user