diff --git a/app/controller/middle/StoreProduct.php b/app/controller/middle/StoreProduct.php index e41713c3..f0d3f84d 100644 --- a/app/controller/middle/StoreProduct.php +++ b/app/controller/middle/StoreProduct.php @@ -39,7 +39,10 @@ class StoreProduct extends BaseController unset($_where['product_type']); unset($_where['star']); $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()