From 3f343a57915a39dc66899288046d8829724f2df7 Mon Sep 17 00:00:00 2001 From: 王智 <wz@bronet.cn> Date: Tue, 4 Aug 2020 18:43:10 +0800 Subject: [PATCH] 222 --- application/api/controller/Invoice.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/api/controller/Invoice.php b/application/api/controller/Invoice.php index 33cfdae..6041fee 100644 --- a/application/api/controller/Invoice.php +++ b/application/api/controller/Invoice.php @@ -51,7 +51,9 @@ class Invoice extends Api $param = $this->request->param(); $selectedOptionszero = input('data'); $arr = json_decode(htmlspecialchars_decode($selectedOptionszero), true); - $str = implode($arr,','); + print_r($arr); + die; + $str = explode($arr,','); // if ($param['type'] == 1) { // $is_company = Db::name('company')->where(['company_holder' => $user_id])->find(); // if (empty($is_company)) { -- libgit2 0.24.0