更新列表接口

This commit is contained in:
root 2023-12-05 13:30:10 +08:00
parent 35a661a726
commit e60c246513

View File

@ -39,7 +39,10 @@ class StoreProduct extends BaseController
unset($_where['product_type']); unset($_where['product_type']);
unset($_where['star']); unset($_where['star']);
$where = array_merge($where, $_where); $where = array_merge($where, $_where);
return app('json')->success($this->repository->getAdminList($merId, $where, $page, $limit)); $data = $this->repository->getAdminList($merId, $where, $page, $limit);
$data['lists'] = $data['list'];
unset($data['list']);
return app('json')->success($data);
} }
public function lists() public function lists()