盲盒转盘bug修改

This commit is contained in:
2025-09-16 17:16:24 +08:00
parent 433d348f7c
commit c23be0a7bb
2 changed files with 2 additions and 2 deletions

View File

@@ -285,7 +285,7 @@ class Friend extends Model
*/ */
public function room_give_gift($uid, $to_uid, $gift_id, $gift_num, $from_type, $type, $room_id, $pit_number, $heart_id,$give_gift_ext) public function room_give_gift($uid, $to_uid, $gift_id, $gift_num, $from_type, $type, $room_id, $pit_number, $heart_id,$give_gift_ext)
{ {
$res = model('GiveGift')->give_gift($uid, $to_uid, $gift_id, $gift_num, $from_type, $type, $room_id, $pit_number,$give_gift_ext); $res = model('GiveGift')->give_gift($uid, $to_uid, $gift_id, $gift_num, $from_type, $type, $room_id, $pit_number,0,$give_gift_ext);
if($res['code'] != 1){ if($res['code'] != 1){
return $res; return $res;
} }

View File

@@ -523,7 +523,7 @@ class GiveGift extends Model
} }
} }
} }
//直播间送礼物 每日任务 //直播间送礼物 每日任务
model('DailyTasks')->tasks_complete($uid,3); model('DailyTasks')->tasks_complete($uid,3);
} }