点唱房

This commit is contained in:
2025-11-12 17:24:01 +08:00
parent 2de7412550
commit 5335f54462

View File

@@ -25,7 +25,7 @@ class RoomPit extends BaseCom
$room_label = $res['data']['label_id']; $room_label = $res['data']['label_id'];
$room_type = $res['data']['type_id']; $room_type = $res['data']['type_id'];
redis_lock_exits($key_name); redis_lock_exits($key_name);
if(($room_label == 1 && ($room_type == 1 || $room_type == 3 || $room_type == 4 || $room_type == 8))|| $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 || $room_type == 9){
$reslut = model('RoomPit')->apply_pit($this->uid, $room_id,$pit_number); $reslut = model('RoomPit')->apply_pit($this->uid, $room_id,$pit_number);
}elseif ($room_label == 2 && ($room_type == 1 || $room_type == 3 || $room_type == 4 || $room_type == 8)){ }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); $reslut = model('RoomSong')->apply_kpit($this->uid, $room_id,$pit_number);