修改商品列表的错误

This commit is contained in:
luofei 2024-03-02 17:16:01 +08:00
parent 904b454954
commit f2e1795eb3

View File

@ -112,7 +112,7 @@ class StoreSpu extends BaseController
if ($where['category_id'] != '') {
$where['mer_ids'] = Db::name('merchant')->where(['category_id' => $where['category_id'], 'status' => 1, 'is_del' => 0])->column('mer_id');
}
$data = $this->repository->getApiSearch($where, $page, $limit, $this->userInfo);
$data = $this->repository->getApiSearch($where, $page, $limit, $this->userInfo, true);
return app('json')->success($data);
}