This commit is contained in:
aozhiwei 2024-10-12 15:27:21 +08:00
parent f797287f55
commit 244a13ee9e

View File

@ -42,7 +42,6 @@ class ShopService {
'bought_times' => 0, 'bought_times' => 0,
'free_num' => 0, 'free_num' => 0,
); );
array_push($goodsList, $goodsDto);
switch ($goodsMeta['limit_type']) { switch ($goodsMeta['limit_type']) {
case mt\Shop::DAILY_BUY_LIMIT: { case mt\Shop::DAILY_BUY_LIMIT: {
$buyRecord = getXVal($buyRecordHash, $goodsMeta['goods_id']); $buyRecord = getXVal($buyRecordHash, $goodsMeta['goods_id']);
@ -63,7 +62,7 @@ class ShopService {
} }
break; break;
} }
array_push($goodsList, $goodsDto);
$itemMeta = mt\Item::get($goodsMeta['item_id']); $itemMeta = mt\Item::get($goodsMeta['item_id']);
if ($itemMeta) { if ($itemMeta) {
/* /*