|
@@ -1272,7 +1272,8 @@ public class RoomServiceImpl implements RoomService {
|
|
|
}else if(notify.getEvent() == 2){
|
|
|
//房间创建
|
|
|
}else if(notify.getEvent() == 3){
|
|
|
- //房间销毁
|
|
|
+ //房间销毁(删除缓存的sessionId)
|
|
|
+ redisTemplate.delete("sessionId:" + roomId);
|
|
|
}else if(notify.getEvent() == 11){
|
|
|
//成员加入
|
|
|
joinRoomSuccess(roomMember.getExamRegistrationId(),roomId,userId);
|