diff --git a/application/api/controller/RoomPit.php b/application/api/controller/RoomPit.php index 14957c5..3b64d4f 100644 --- a/application/api/controller/RoomPit.php +++ b/application/api/controller/RoomPit.php @@ -113,7 +113,7 @@ 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){ + if(($room_label == 1 && ($room_type == 1 || $room_type == 3 || $room_type == 4)) || $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)){ $reslut = model('RoomSong')->down_kpit($this->uid, $room_id);