From f1218ae4569fccc138c17c336ae49e4f0ab89356 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 2 Nov 2023 11:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/product/CloudWarehouse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/store/product/CloudWarehouse.php b/app/controller/api/store/product/CloudWarehouse.php index 46ec03b7..adaf906e 100644 --- a/app/controller/api/store/product/CloudWarehouse.php +++ b/app/controller/api/store/product/CloudWarehouse.php @@ -47,10 +47,10 @@ class CloudWarehouse extends BaseController public function index() { // 除了市级供应链都可以查询 - $typeIdArray = Db::name('MerchantType')->where('type_code', Merchant::TypeCode['TypeTownSupplyChain'])->column('mer_type_id'); + $typeIdArray = Db::name('MerchantType')->where('type_code', Merchant::TypeCode['TypePlatform'])->column('mer_type_id'); $params = $this->request->params(['category_id', 'street_code', 'order', ['product_type', 0], 'keyword','page_num']); $search = [ - 'street_id' => $params['street_code'], + // 'street_id' => $params['street_code'], 'type_id' => $typeIdArray ?? [], 'status' => 1, 'is_del' => 0,