|  | @@ -185,14 +185,12 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      @Transactional(rollbackFor = Exception.class)
 | 
	
		
			
				|  |  |      public void joinRoomSuccess(String roomId, String imUserId) throws Exception {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        log.info("joinRoomSuccess: roomId={}, imUserId={}", roomId, imUserId);
 | 
	
		
			
				|  |  |          // 用户ID
 | 
	
		
			
				|  |  |          Long userId = Long.parseLong(imGroupService.analysisImUserId(imUserId));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          // 客户端类型
 | 
	
		
			
				|  |  |          ClientEnum clientType = ClientEnum.valueOf(imGroupService.analysisImUserClient(imUserId));
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        log.info("joinRoomSuccess: roomId={}, userId={}", roomId, userId);
 | 
	
		
			
				|  |  |          CourseSchedule courseSchedule = Optional.ofNullable(courseScheduleService.getById(roomId)).
 | 
	
		
			
				|  |  |                  orElseThrow(()->new BizException("房间信息不存在"));
 | 
	
		
			
				|  |  |          BasicUserInfo sysUser = Optional.ofNullable(teacherDao.getBasicUserInfo(userId)).
 | 
	
	
		
			
				|  | @@ -253,17 +251,12 @@ public class ImNetworkRoomServiceImpl extends ServiceImpl<ImNetworkRoomDao, ImNe
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      @Transactional(rollbackFor = Exception.class)
 | 
	
		
			
				|  |  |      public void quitRoomSuccess(String roomId, String imUserId) throws Exception {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          // 用户ID
 | 
	
		
			
				|  |  |          Long userId = Long.parseLong(imGroupService.analysisImUserId(imUserId));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          // 客户端类型
 | 
	
		
			
				|  |  |          ClientEnum clientType = ClientEnum.valueOf(imGroupService.analysisImUserClient(imUserId));
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          // 客户端类型
 | 
	
		
			
				|  |  |          UserRoleEnum userRole = UserRoleEnum.convert(clientType);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          log.info("quitRoomSuccess: roomId={}, userId={}", roomId, userId);
 | 
	
		
			
				|  |  |          //防止幂等
 | 
	
		
			
				|  |  |          StringBuffer sb  = new StringBuffer(QUIT_ROOM_SUCCESS).append(roomId).append(userId);
 |