From 05a8639308f2410e9c4e34d5b92e19c11090df53 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 9 Dec 2024 11:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=83=AD=E9=94=80=E6=A6=9C?= =?UTF-8?q?=E5=8D=95=E8=8E=B7=E5=8F=96=E5=95=86=E5=93=81=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/IndexLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/logic/IndexLogic.php b/app/api/logic/IndexLogic.php index bbac50c4..ea3fcc6b 100755 --- a/app/api/logic/IndexLogic.php +++ b/app/api/logic/IndexLogic.php @@ -325,7 +325,7 @@ class IndexLogic extends Logic ->where($where) ->where($onSaleWhere) ->order($order) - ->limit(4) + ->limit(9) ->select() ->toArray(); foreach ($hots as &$v) { @@ -1073,7 +1073,7 @@ class IndexLogic extends Logic ->where('delete_time', 0) ->field('hl.*, g.id as gid, g.name, g.image, g.issuing_price, g.market_price, g.min_price, g.purchase_price, g.wholesale_price, g.subsidy_id') ->order('sort desc') - ->limit(6) + ->limit(4) ->select() ->toArray();