爱豆计划调整

This commit is contained in:
2026-01-29 10:18:29 +08:00
parent 1b0043743b
commit 254aee03e8

View File

@@ -1074,9 +1074,13 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
{ {
$resultList = []; $resultList = [];
foreach ($giftCounts as $gift) { foreach ($giftCounts as $gift) {
$gift = Db::name('vs_gift')->where(['gid'=>$gift['gift_id']])->find();
$resultList[] = [ $resultList[] = [
'gift_id' => $gift['gift_id'], 'gift_id' => $gift['gift_id'],
'count' => $gift['count'] 'count' => $gift['count'],
'gift_price' => $gift['gift_price'],
'gift_name' => $gift['gift_name'],
'base_image' => $gift['base_image'],
]; ];
} }
return [ return [