爱豆计划调整

This commit is contained in:
2026-01-29 10:25:36 +08:00
parent 254aee03e8
commit cee9802959

View File

@@ -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 [