|
|
|
$where = $this->request->params(['temp_id', 'cate_id', 'keyword', 'mer_cate_id', 'is_gift_bag', 'status', 'us_status', 'product_id', 'mer_labels', ['order', 'sort'], 'is_ficti', 'svip_price_type', 'filters_type', 'is_action', 'is_good', 'not_product_id', 'form_id']); |
|
|
|
$where = $this->request->params(['temp_id', 'cate_id', 'keyword', 'mer_cate_id', 'is_gift_bag', 'status', 'us_status', 'product_id', 'mer_labels', ['order', 'sort'], 'is_ficti', 'is_hot', 'svip_price_type', 'filters_type', 'is_action', 'is_good', 'not_product_id', 'form_id']); |
|
|
|
$where = array_merge($where, $this->repository->switchType($type, $this->request->merId(), 0)); |
|
|
|
$where = array_merge($where, $this->repository->switchType($type, $this->request->merId(), 0)); |
|
|
|
return app('json')->success($this->repository->getList($this->request->merId(), $where, $page, $limit)); |
|
|
|
return app('json')->success($this->repository->getList($this->request->merId(), $where, $page, $limit)); |