爱豆计划调整
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user