动态打赏
This commit is contained in:
@@ -30,7 +30,9 @@ class RoomPit extends BaseCom
|
||||
}elseif($room_type == 11){
|
||||
//9麦位,10麦位 不做$gift_id校验
|
||||
if($pit_number != 9 && $pit_number != 10){
|
||||
if($gift_id == 0){
|
||||
//有麦位就是换麦
|
||||
$pit_infos = db::name('vs_room_pit')->where(['room_id' => $room_id, 'user_id' => $this->uid])->value('pit_number')??0;
|
||||
if($gift_id == 0 && $pit_infos == 0){
|
||||
return V(0, '请选择礼物', null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user