From cee9802959b1a9558f53ddfd83729049c8f0c3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Thu, 29 Jan 2026 10:25:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B1=E8=B1=86=E8=AE=A1=E5=88=92=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/model/BlindBoxTurntableGiftDrawWorldNew.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php b/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php index ea4a9500..82aa0f15 100644 --- a/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php +++ b/application/api/model/BlindBoxTurntableGiftDrawWorldNew.php @@ -1074,13 +1074,13 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model { $resultList = []; foreach ($giftCounts as $gift) { - $gift = Db::name('vs_gift')->where(['gid'=>$gift['gift_id']])->find(); + $gift_data = Db::name('vs_gift')->where(['gid'=>$gift['gift_id']])->find(); $resultList[] = [ 'gift_id' => $gift['gift_id'], 'count' => $gift['count'], - 'gift_price' => $gift['gift_price'], - 'gift_name' => $gift['gift_name'], - 'base_image' => $gift['base_image'], + 'gift_price' => $gift_data['gift_price'], + 'gift_name' => $gift_data['gift_name'], + 'base_image' => $gift_data['base_image'], ]; } return [