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,