From 0bf849d1c424b7d3aba1b0b1f105b52c77c2cf02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 23 Sep 2025 22:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=8D=E5=8D=96=E6=88=BF=E5=88=87=E6=8D=A2?= =?UTF-8?q?=20=E4=B8=8B=E6=8B=8D=E5=8D=96=E4=BD=8D=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E9=80=89=E5=85=B3=E7=B3=BB=E7=9A=84=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Room.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/application/api/model/Room.php b/application/api/model/Room.php index ff3aaab..31e7814 100644 --- a/application/api/model/Room.php +++ b/application/api/model/Room.php @@ -1709,13 +1709,19 @@ class Room extends Model //申请上麦的全部下麦 model('RoomPit')->clear_apply_pit_list($uid, $room_id); - if($type == 1 || $type == 3 || $type == 4 || $type == 7){ + if($type == 1 || $type == 3 || $type == 4 || $type == 7 || $type == 8){ //查询拍卖房的状态 $room_auction = db::name('vs_room_auction')->where(['room_id' => $room_id,'status' => 2])->select(); if($room_auction){ foreach ($room_auction as $v){ model('RoomAuction')->room_auction_end($room_id,$v['auction_id']); } + //拍卖位上是否有人 + $an = Cache::get('auction_user_'.$room_id); + if($an){ + //拍卖位下麦 + model('api/RoomPit')->host_user_pit($uid,$room_id,888,$an,2); + } } } if($type == 2){