更新标签
This commit is contained in:
parent
58fa4c5efc
commit
e2641be239
@ -30,7 +30,9 @@ class ProductLabel extends BaseController
|
||||
{
|
||||
[$page, $limit] = $this->getPage();
|
||||
$where = $this->request->params(['name', 'type', 'status']);
|
||||
$where['mer_id'] = $this->request->merId();
|
||||
if($where['type']!=1){
|
||||
$where['mer_id'] = $this->request->merId();
|
||||
}
|
||||
$data = $this->repository->getList($where,$page, $limit);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user