修复市级供应链
This commit is contained in:
parent
7a1a5f7f8e
commit
ad847cec10
@ -60,7 +60,9 @@ class CloudWarehouse extends BaseController
|
||||
return app('json')->success(['count' => 0, 'list' => []]);
|
||||
}
|
||||
$count = Db::name('cloud_product')->where('street_code', $street_code)->where('status', 1)->count();
|
||||
|
||||
if (!empty($params['category_id'])) {
|
||||
$where['cate_id'] = $params['category_id'];
|
||||
}
|
||||
$products = $this->spuRepository->getApiSearch($where,$page,10, false,true);
|
||||
if($products['list']){
|
||||
$list=$products['list'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user