|
@@ -158,10 +158,10 @@ public class RoomServiceImpl implements RoomService {
|
|
|
}
|
|
|
this.publishMessage(eduUserFeignService.getPublishMessage(registrationId));
|
|
|
eduUserFeignService.upsetStudentAttendance(registrationId,0);
|
|
|
- imHelper.startRecord(roomId, registrationId,roomMembers);
|
|
|
+// imHelper.startRecord(roomId, registrationId,roomMembers);
|
|
|
}else {
|
|
|
eduUserFeignService.upsetTeacherAttendance(examRoom.getId(),sysUser.getId(),0);
|
|
|
- imHelper.configRecord(roomId,roomMembers);
|
|
|
+// imHelper.configRecord(roomId,roomMembers);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -322,10 +322,10 @@ public class RoomServiceImpl implements RoomService {
|
|
|
userDao.deleteByUid(userId);
|
|
|
if(registrationId != null){
|
|
|
eduUserFeignService.upsetStudentAttendance(registrationId,1);
|
|
|
- imHelper.stopRecord(roomId);
|
|
|
+// imHelper.stopRecord(roomId);
|
|
|
}else {
|
|
|
eduUserFeignService.upsetTeacherAttendance(Long.parseLong(roomId),Integer.parseInt(userId),1);
|
|
|
- imHelper.configRecord(roomId,roomMemberDao.findByRid(roomId));
|
|
|
+// imHelper.configRecord(roomId,roomMemberDao.findByRid(roomId));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -463,7 +463,7 @@ public class RoomServiceImpl implements RoomService {
|
|
|
if("3".equals(e.getRole())){
|
|
|
try {
|
|
|
eduUserFeignService.upsetStudentAttendance(e.getExamRegistrationId(),1);
|
|
|
- imHelper.stopRecord(e.getRid());
|
|
|
+// imHelper.stopRecord(e.getRid());
|
|
|
} catch (Exception e1) {
|
|
|
e1.printStackTrace();
|
|
|
}
|
|
@@ -502,7 +502,7 @@ public class RoomServiceImpl implements RoomService {
|
|
|
if("recorded".equals(data.getType())){
|
|
|
msg.setRoomId("recorded" + roomId);
|
|
|
}*/
|
|
|
- imHelper.stopRecord(roomId);
|
|
|
+// imHelper.stopRecord(roomId);
|
|
|
IMApiResultInfo apiResultInfo = imHelper.publishMessage(userId, roomId, msg, 1);
|
|
|
if (!apiResultInfo.isSuccess()) {
|
|
|
throw new ApiException(ErrorEnum.ERR_MESSAGE_ERROR);
|