换房间类型 拍卖位处理

This commit is contained in:
2025-09-23 23:28:28 +08:00
parent f19efd80ea
commit 8efa22b517
2 changed files with 7 additions and 7 deletions

View File

@@ -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();