From 244a13ee9ef340c7f9b1771b00adbe20f0b06d5e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 12 Oct 2024 15:27:21 +0800 Subject: [PATCH] 1 --- webapp/services/ShopService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { /*