From 780248aff42505551ffa0967a3ad6fab0b31948a Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 7 Aug 2024 00:30:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(CateLists):=20=E6=9B=B4=E6=96=B0=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=86=E7=B1=BB=E5=88=97=E8=A1=A8=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/cate/CateLists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/lists/cate/CateLists.php b/app/api/lists/cate/CateLists.php index 6e8c6ced5..8157169f4 100644 --- a/app/api/lists/cate/CateLists.php +++ b/app/api/lists/cate/CateLists.php @@ -46,7 +46,7 @@ class CateLists extends BaseAdminDataLists implements ListsSearchInterface { $level = Request()->get('level', 1); $pid = $this->request->get('pid',0); - $this->searchWhere[] = ['stock', '>', 0]; + // $this->searchWhere[] = ['stock', '>', 0]; $this->searchWhere[] = ['status', '=', 1]; if($pid && $level ==2){ $this->searchWhere[] = ['top_cate_id','=',$pid];