This commit is contained in:
2025-12-21 19:08:05 +08:00
parent 6e81a0942f
commit 33450890aa
4 changed files with 178 additions and 6 deletions

View File

@@ -189,7 +189,8 @@ class Room extends BaseCom
$pit_number = input('pit_number', 0);
$heart_id = input('heart_id', 0);
if($gift_id == 88){
$pool_gift_id = db::name('bb_lottery_config')->where(['key' => 'pool_gift_id'])->value('value');
if($gift_id == $pool_gift_id){
$reslut = model('Lottery')->gift($this->uid, $to_uid, $gift_id, $room_id,$gift_num);
}else{
$reslut = model('Room')->room_gift($this->uid, $to_uid, $gift_id, $gift_num, $type, $room_id, $pit_number,$heart_id);