From 9ad0362c41157adfb57f6d820154b0ea961fd0f6 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 30 Dec 2024 14:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=8C=87=E5=AE=9A=E7=B1=BB?= =?UTF-8?q?=E7=9B=AE=E4=B8=8B=E7=9A=84=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/IndexLogic.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/logic/IndexLogic.php b/app/api/logic/IndexLogic.php index 522a5b1b..14a93a47 100755 --- a/app/api/logic/IndexLogic.php +++ b/app/api/logic/IndexLogic.php @@ -77,7 +77,7 @@ class IndexLogic extends Logic $hots = self::getHots($where); // 年货超值购 - $year_shop = self::getYearShop(); + $year_goods = self::getYearGoods(); $set_price_type = 0; if ($set != null&&$settpye!=1) { @@ -283,7 +283,7 @@ class IndexLogic extends Logic // 'mall_news' => [], 'mall_news' => $mall_news, 'hot_list' => $hot_list, - 'year_shop' => $year_shop, + 'year_goods' => $year_goods, ]; } @@ -1123,7 +1123,7 @@ class IndexLogic extends Logic return $hot_list; } - public static function getYearShop($get = []) + public static function getYearGoods($get = []) { $page_no = $get['page_no'] ?? 1; $page_size = $get['page_size'] ?? 10;