|
@@ -234,7 +234,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
public RoomVo getRoomInfo(String roomId,String token,String wxToken,String sessionId) {
|
|
|
log.info("getRoomInfo-request-roomId:{},token:{},wxToken:{}",roomId,token,wxToken);
|
|
|
String roomUserId = null;
|
|
|
- if(roomId.contains("_")){
|
|
|
+ if(!roomId.contains("temp_") &&roomId.contains("_")){
|
|
|
String[] split = roomId.split("_");
|
|
|
roomId = split[0];
|
|
|
roomUserId = split[1];
|
|
@@ -326,7 +326,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
String roomUserId = null;
|
|
|
RoomUser roomUser = null;
|
|
|
String roomIdDb = roomId;
|
|
|
- if(roomId.contains("_")){
|
|
|
+ if(!roomId.contains("temp_") &&roomId.contains("_")){
|
|
|
String[] split = roomId.split("_");
|
|
|
roomIdDb = split[0];
|
|
|
roomUserId = split[1];
|
|
@@ -418,7 +418,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
}
|
|
|
String wxRoomId = roomId;
|
|
|
Integer roomUserId = null;
|
|
|
- if(roomId.contains("_")){
|
|
|
+ if(!roomId.contains("temp_") && roomId.contains("_")){
|
|
|
String[] split = roomId.split("_");
|
|
|
roomId =split[0];
|
|
|
roomUserId = Integer.parseInt(split[1]);
|