From 05aedf2231f34a55a9e289f4d1d109ebabbaa49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 8 Jan 2026 09:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E9=85=92=E5=90=A7=E6=88=BF?= =?UTF-8?q?=E5=B0=8F=E9=BB=91=E5=B1=8B=20=E9=80=9A=E7=9F=A5=E5=8F=A6?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E4=BA=BA=E4=B9=9F=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Room.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/api/model/Room.php b/application/api/model/Room.php index eed6ec89..e64165db 100644 --- a/application/api/model/Room.php +++ b/application/api/model/Room.php @@ -2012,6 +2012,8 @@ class Room extends Model $apply_type = 5; }elseif ($room_type == 2){ $apply_type = 6; + }elseif ($room_type == 6 && $room_label == 11){ + $apply_type = 11; }else{ $apply_type = 1; } @@ -2081,6 +2083,8 @@ class Room extends Model if (isset($room_pit)) { model('api/RoomPit')->DownPit($user_id, $room_id, $room_pit['pit_number']); } + }elseif ($apply_type == 11){ + model('api/Friend')->outRoom(0, $room_id); }else{ //在麦位上 移除用户 $room_pit = db::name('vs_room_pit')->where(['room_id' => $room_id, 'user_id' => $user_id])->find();