|
@@ -245,8 +245,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
roomVo.setHostStatus(1);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- if(wxUser.getPhoneNumber().equals(room.getRoomUserName())){
|
|
|
+ }else if(wxUser.getPhoneNumber().equals(room.getRoomUserName())){
|
|
|
roomVo.setIsHost(1);
|
|
|
roomVo.setHostStatus(1);
|
|
|
}
|
|
@@ -362,7 +361,6 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
room.setRoomViewCount(room.getRoomViewCount() + 1);
|
|
|
}
|
|
|
roomVisitLogService.addLog(roomId,roomUserId,userId,type,0);
|
|
|
- room.setUpdateTime(null);
|
|
|
this.updateById(room);
|
|
|
return;
|
|
|
}
|