From d4e9c0ed21bb71fb6f32de8e1945f570fa5c2e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 16 Mar 2021 16:23:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/controller/ShopGoods.php | 2 +- app/data/view/shop_goods/index_search.html | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/app/data/controller/ShopGoods.php b/app/data/controller/ShopGoods.php index 961396a17..e6ef36298 100644 --- a/app/data/controller/ShopGoods.php +++ b/app/data/controller/ShopGoods.php @@ -51,7 +51,7 @@ class ShopGoods extends Controller elseif ($this->type === 'recycle') $query->where(['deleted' => 1]); else $this->error("无法加载 {$this->type} 数据列表!"); // 列表排序并显示 - $query->like('code,name,marks,cateids')->equal('status'); + $query->like('code,name,marks,cateids')->equal('status,vip_entry,truck_type'); $query->order('sort desc,id desc')->page(); } diff --git a/app/data/view/shop_goods/index_search.html b/app/data/view/shop_goods/index_search.html index c8877b50c..b1b91eecc 100644 --- a/app/data/view/shop_goods/index_search.html +++ b/app/data/view/shop_goods/index_search.html @@ -62,6 +62,36 @@ +
+ + +
+ +
+ + +
+