mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-06 17:36:47 +08:00
代码还原
This commit is contained in:
@@ -129,12 +129,12 @@ public class CourseManageApi extends ApiBaseController{
|
||||
|
||||
List<String> orgIds = userOrgIds.getIds();
|
||||
|
||||
// if(userOrgIds.getPermissions().containsKey(UserOrgIds.IsSystemAdminKey)){
|
||||
// dto.setIsSystemAdmin(userOrgIds.getPermissions().get(UserOrgIds.IsSystemAdminKey));
|
||||
// }else {
|
||||
// dto.setIsSystemAdmin(false);
|
||||
// }
|
||||
dto.setIsSystemAdmin(false);
|
||||
if(userOrgIds.getPermissions().containsKey(UserOrgIds.IsSystemAdminKey)){
|
||||
dto.setIsSystemAdmin(userOrgIds.getPermissions().get(UserOrgIds.IsSystemAdminKey));
|
||||
}else {
|
||||
dto.setIsSystemAdmin(false);
|
||||
}
|
||||
// dto.setIsSystemAdmin(false);
|
||||
String ids="";
|
||||
if(userOrgIds.getIds()!=null && !userOrgIds.getIds().isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user