正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -50,10 +50,10 @@ class Invoice extends Api | @@ -50,10 +50,10 @@ class Invoice extends Api | ||
50 | $user_id = $this->is_token($this->request->header()); | 50 | $user_id = $this->is_token($this->request->header()); |
51 | $param = $this->request->param(); | 51 | $param = $this->request->param(); |
52 | $selectedOptionszero = input('data'); | 52 | $selectedOptionszero = input('data'); |
53 | - $arr = json_decode(htmlspecialchars_decode($selectedOptionszero), true); | 53 | +// $arr = json_decode(htmlspecialchars_decode($selectedOptionszero), true); |
54 | dump($selectedOptionszero); | 54 | dump($selectedOptionszero); |
55 | - die; | ||
56 | - $str=implode(',', $arr); | 55 | +// die; |
56 | +// $str=implode(',', $arr); | ||
57 | // if ($param['type'] == 1) { | 57 | // if ($param['type'] == 1) { |
58 | // $is_company = Db::name('company')->where(['company_holder' => $user_id])->find(); | 58 | // $is_company = Db::name('company')->where(['company_holder' => $user_id])->find(); |
59 | // if (empty($is_company)) { | 59 | // if (empty($is_company)) { |
@@ -69,7 +69,7 @@ class Invoice extends Api | @@ -69,7 +69,7 @@ class Invoice extends Api | ||
69 | 'address' => $param['address'], | 69 | 'address' => $param['address'], |
70 | 'address_con' => $param['address_con'], | 70 | 'address_con' => $param['address_con'], |
71 | 'invoice_head' => $param['invoice_head'], | 71 | 'invoice_head' => $param['invoice_head'], |
72 | - 'selectedOptionszero' => $str | 72 | + 'selectedOptionszero' => $selectedOptionszero |
73 | ]; | 73 | ]; |
74 | // } else { | 74 | // } else { |
75 | // $data = [ | 75 | // $data = [ |
-
请 注册 或 登录 后发表评论