From 3153404aafcbc21a74166fd2d8fb922b06e364a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Fri, 19 Sep 2025 17:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E9=97=B4=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/RoomPit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/api/controller/RoomPit.php b/application/api/controller/RoomPit.php index 3b64d4f..1e2061c 100644 --- a/application/api/controller/RoomPit.php +++ b/application/api/controller/RoomPit.php @@ -33,9 +33,9 @@ class RoomPit extends BaseCom $room_label = $res['data']['label_id']; $room_type = $res['data']['type_id']; - if(($room_label == 1 && ($room_type == 1 || $room_type == 3 || $room_type == 4))|| $room_type == 2 || $room_type == 7){ + if(($room_label == 1 && ($room_type == 1 || $room_type == 3 || $room_type == 4 || $room_type == 8))|| $room_type == 2 || $room_type == 7){ $reslut = model('RoomPit')->apply_pit($this->uid, $room_id,$pit_number); - }elseif ($room_label == 2 && ($room_type == 1 || $room_type == 3 || $room_type == 4)){ + }elseif ($room_label == 2 && ($room_type == 1 || $room_type == 3 || $room_type == 4 || $room_type == 8)){ $reslut = model('RoomSong')->apply_kpit($this->uid, $room_id,$pit_number); }else{ return V(0, '房间不存在', null); @@ -113,9 +113,9 @@ class RoomPit extends BaseCom } $room_label = $res['data']['label_id']; $room_type = $res['data']['type_id']; - if(($room_label == 1 && ($room_type == 1 || $room_type == 3 || $room_type == 4)) || $room_type == 2 || $room_type == 7){ + if(($room_label == 1 && ($room_type == 1 || $room_type == 3 || $room_type == 4 || $room_type == 8)) || $room_type == 2 || $room_type == 7){ $reslut = model('RoomPit')->DownPit($this->uid, $room_id,$pit_number); - }elseif ($room_label == 2 && ($room_type == 1 || $room_type == 3 || $room_type == 4)){ + }elseif ($room_label == 2 && ($room_type == 1 || $room_type == 3 || $room_type == 4 || $room_type == 8)){ $reslut = model('RoomSong')->down_kpit($this->uid, $room_id); }