换房间类型 拍卖位处理
This commit is contained in:
@@ -925,7 +925,7 @@ class RoomPit extends Model
|
||||
|
||||
if(!$pit_number || $pit_number == 888){
|
||||
$roomInfo = db::name('vs_room')->where('id',$room_id)->field('label_id,type_id')->find();
|
||||
if($roomInfo['type_id'] == 2){//拍卖
|
||||
if($roomInfo['type_id'] == 2 || Cache::get('auction_user_'.$room_id)){//拍卖
|
||||
//查询当前是否处于拍卖中
|
||||
$auctioning = db::name('vs_room_auction')
|
||||
->where(['room_id' => $room_id, 'status' => 2, 'user_id' => $accept_user_id])->find();
|
||||
|
||||
Reference in New Issue
Block a user