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