lyhzzz 6 hónapja
szülő
commit
bb3a0aef38

+ 3 - 0
src/main/java/com/fdkankan/tk/controller/RoomController.java

@@ -84,6 +84,9 @@ public class RoomController extends BaseController{
         if(roomId == null){
             throw new BusinessException(ResultCode.PARAM_MISS);
         }
+        if(roomId.contains("_")){
+            roomId = roomId.split("_")[0];
+        }
         Room room = roomService.getById(roomId);
         if(room == null){
             throw new BusinessException(ResultCode.ROOM_MISS);