修改商户列表
This commit is contained in:
parent
56e0af48df
commit
649f6fbb8e
@ -47,6 +47,10 @@ class Merchant extends BaseController
|
||||
if (empty($where['type_id'])) {
|
||||
$where['type_id'] = MerchantType::where('is_allow_apply', 1)->where('is_search_display', 1)->column('mer_type_id');
|
||||
}
|
||||
if ($where['merchant_category_id'] > 0) {
|
||||
$where['category_id'] = $where['merchant_category_id'];
|
||||
unset($where['merchant_category_id']);
|
||||
}
|
||||
return app('json')->success($this->repository->getList($where, $page, $limit, $this->userInfo));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user