所有后台人过滤在线课

This commit is contained in:
xiaozhequ
2024-06-18 14:56:28 +08:00
parent dd0af3cbef
commit 62884bcc15

View File

@@ -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);
}
// 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())
{