更新列表接口
This commit is contained in:
parent
35a661a726
commit
e60c246513
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user