|  | @@ -279,7 +279,7 @@ public class ImLiveBroadcastRoomServiceImpl extends ServiceImpl<ImLiveBroadcastR
 | 
	
		
			
				|  |  |          obj.setCreatedBy(getSysUser().getId());
 | 
	
		
			
				|  |  |          obj.setCreatedTime(now);
 | 
	
		
			
				|  |  |          this.save(obj);
 | 
	
		
			
				|  |  | -        return getLiveBroadcastRoomVo(roomUid);
 | 
	
		
			
				|  |  | +        return getImLiveBroadcastRoomVo(roomUid);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
	
		
			
				|  | @@ -299,7 +299,7 @@ public class ImLiveBroadcastRoomServiceImpl extends ServiceImpl<ImLiveBroadcastR
 | 
	
		
			
				|  |  |          if (obj.getLiveState() == 1) {
 | 
	
		
			
				|  |  |              obj.setRoomConfig(JSONObject.toJSONString(dto.getRoomConfig()));
 | 
	
		
			
				|  |  |              this.updateById(obj);
 | 
	
		
			
				|  |  | -            return getLiveBroadcastRoomVo(obj.getRoomUid());
 | 
	
		
			
				|  |  | +            return getImLiveBroadcastRoomVo(obj.getRoomUid());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          if (now.getTime() > dto.getLiveStartTime().getTime()) {
 | 
	
		
			
				|  |  |              throw new BizException("设置的直播开始时间不能小于当前时间");
 | 
	
	
		
			
				|  | @@ -315,7 +315,7 @@ public class ImLiveBroadcastRoomServiceImpl extends ServiceImpl<ImLiveBroadcastR
 | 
	
		
			
				|  |  |          obj.setRoomConfig(JSONObject.toJSONString(dto.getRoomConfig()));
 | 
	
		
			
				|  |  |          log.info("update room  >>>  :{}", JSONObject.toJSONString(obj));
 | 
	
		
			
				|  |  |          this.updateById(obj);
 | 
	
		
			
				|  |  | -        return getLiveBroadcastRoomVo(obj.getRoomUid());
 | 
	
		
			
				|  |  | +        return getImLiveBroadcastRoomVo(obj.getRoomUid());
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      //添加直播间可见权限-只处理了群组和学生可是权限
 | 
	
	
		
			
				|  | @@ -386,18 +386,6 @@ public class ImLiveBroadcastRoomServiceImpl extends ServiceImpl<ImLiveBroadcastR
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    private ImLiveBroadcastRoomVo getLiveBroadcastRoomVo(String roomUid) {
 | 
	
		
			
				|  |  | -        Map<String, Object> param = new HashMap<>();
 | 
	
		
			
				|  |  | -        param.put("allRoom", 1);
 | 
	
		
			
				|  |  | -        param.put("roomUid", roomUid);
 | 
	
		
			
				|  |  | -        List<ImLiveBroadcastRoomVo> vo = baseMapper.queryPage(param);
 | 
	
		
			
				|  |  | -        if (CollectionUtils.isNotEmpty(vo)) {
 | 
	
		
			
				|  |  | -            return vo.get(0);
 | 
	
		
			
				|  |  | -        } else {
 | 
	
		
			
				|  |  | -            return null;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -    }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  |       * 是否禁言
 | 
	
		
			
				|  |  |       *
 |