调试平台手续费分润
This commit is contained in:
parent
13a4c40034
commit
d6e1062184
@ -50,12 +50,24 @@ class CloudWarehouse extends BaseController
|
|||||||
'street_id' => $params['street_code'],
|
'street_id' => $params['street_code'],
|
||||||
'type_id' => Merchant::TypeStore,
|
'type_id' => Merchant::TypeStore,
|
||||||
'category_id' => $params['category_id'],
|
'category_id' => $params['category_id'],
|
||||||
|
'status' => 1,
|
||||||
|
'is_del' => 0,
|
||||||
|
'mer_state' => 1,
|
||||||
];
|
];
|
||||||
$merchantIds = $this->merchantDao->search($search)->column('mer_id');
|
$merchantIds = $this->merchantDao->search($search)->column('mer_id');
|
||||||
[$page, $limit] = $this->getPage();
|
[$page, $limit] = $this->getPage();
|
||||||
if (empty($merchantIds)) {
|
if (empty($merchantIds)) {
|
||||||
return app('json')->success(['count' => 0, 'list' => []]);
|
return app('json')->success(['count' => 0, 'list' => []]);
|
||||||
}
|
}
|
||||||
|
$entryWhere = [
|
||||||
|
'street_id' => $params['street_code'],
|
||||||
|
'type_id' => Merchant::TypeCloudWarehouse,
|
||||||
|
'category_id' => $params['category_id'],
|
||||||
|
'status' => 1,
|
||||||
|
'is_del' => 0,
|
||||||
|
'mer_state' => 1,
|
||||||
|
];
|
||||||
|
$where['entry_mer_id'] = $this->merchantDao->search($entryWhere)->value('mer_id');
|
||||||
$where['keyword'] = $params['keyword'];
|
$where['keyword'] = $params['keyword'];
|
||||||
$where['mer_ids'] = $merchantIds;
|
$where['mer_ids'] = $merchantIds;
|
||||||
$where['product_type'] = $params['product_type'];
|
$where['product_type'] = $params['product_type'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user