更新标签

This commit is contained in:
shengchanzhe 2023-12-25 17:24:21 +08:00
parent 58fa4c5efc
commit e2641be239

View File

@ -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);
}