From 877c4cfcb413c7f2e5fdccf2ba8d22d42c53e9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Thu, 25 Dec 2025 14:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B8=E8=BF=90=E5=B8=81=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Gift.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/api/model/Gift.php b/application/api/model/Gift.php index 9c0e1962..957f5ad2 100644 --- a/application/api/model/Gift.php +++ b/application/api/model/Gift.php @@ -62,6 +62,15 @@ class Gift extends Model break; } } + //爆币 + $pool_gift_id = db::name('bb_lottery_config')->where(['key' => 'pool_gift_id'])->value('value'); + if($pool_gift_id == $v['gift_id']){ + $v['gift_bag_name'] = "幸运币"; + $v['rule'] = "幸运币"; + $v['rule_url'] = get_system_config_value('web_site')."/api/Page/get_gift_box_rule?box_id=35"; + $v['activities_id'] = 88; + $v['gift_bag'] = 0; + } } foreach ($list as $gift) { if($is_open_blind_box_turntable == 1){