From e60c246513b7e5fd8fda38a0949357910a6f57bd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 5 Dec 2023 13:30:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=97=E8=A1=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/middle/StoreProduct.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()