From 1ffbad3e62faa69bd35779a9e99bf75fd2b415bf Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Tue, 29 Sep 2020 09:08:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/v3/GoodsController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Controller/v3/GoodsController.php b/app/Controller/v3/GoodsController.php index 5b7c4a5..7e8bb5c 100644 --- a/app/Controller/v3/GoodsController.php +++ b/app/Controller/v3/GoodsController.php @@ -102,8 +102,8 @@ class GoodsController extends BaseController $data['inventory'] = $this->request->input('inventory',0); $data['restrict_num'] = $this->request->input('restrict_num',0); $data['start_num'] = $this->request->input('start_num',0); - $data['spec'] = $this->request->input('spec',[]); - $data['tags'] = $this->request->input('tags',[]); + $data['spec'] = $this->request->input('spec'); + $data['tags'] = $this->request->input('tags'); $data['remark'] = $this->request->input('remark',''); $data['on_sale'] = $this->request->input('on_sale',0); $data['is_infinite'] = $this->request->input('is_infinite',0); @@ -150,8 +150,8 @@ class GoodsController extends BaseController $data['inventory'] = $this->request->input('inventory',0); $data['restrict_num'] = $this->request->input('restrict_num',0); $data['start_num'] = $this->request->input('start_num',0); - $data['spec'] = $this->request->input('spec',[]); - $data['tags'] = $this->request->input('tags',[]); + $data['spec'] = $this->request->input('spec'); + $data['tags'] = $this->request->input('tags'); $data['remark'] = $this->request->input('remark',''); $data['on_sale'] = $this->request->input('on_sale',0); $data['is_infinite'] = $this->request->input('is_infinite',0);