From 74e4c047beedc377ef8b727da12cb5f53463174d Mon Sep 17 00:00:00 2001 From: air <30444667+sszdot@users.noreply.github.com> Date: Tue, 13 May 2025 18:52:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afix=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E5=88=86=E7=B1=BB=E6=98=BE=E7=A4=BA=20spu=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20=E8=BF=87=E6=BB=A4show=E5=AD=97=E6=AE=B5=20?= =?UTF-8?q?=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=20=E3=80=90?= =?UTF-8?q?=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FlyCube/Api/Controller/NormalController.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FlyCube/Api/Controller/NormalController.class.php b/FlyCube/Api/Controller/NormalController.class.php index 6095a92..efbef3f 100644 --- a/FlyCube/Api/Controller/NormalController.class.php +++ b/FlyCube/Api/Controller/NormalController.class.php @@ -18,6 +18,7 @@ class NormalController extends PublicController public function getCategoryList() { $where['shop_id'] = $_REQUEST["shop_id"]; + $where['show'] = '1'; $order['sort'] = 'desc'; $field = array('id', 'pid', 'path', 'name', 'shop_id', 'sort', 'show', 'describe', 'photo', 'tag'); $categoryDb = D('category'); @@ -49,6 +50,7 @@ class NormalController extends PublicController { $where['shop_id'] = $_REQUEST["shop_id"]; $where['del'] = '0'; + $where['show'] = '1'; $order['sort'] = 'desc'; $order['id'] = 'desc'; $spuDb = D('spu');