更新
This commit is contained in:
parent
6dbcea27d6
commit
f1218ae456
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user