From 089f1aededa2f21daa10883140babd3f8d904880 Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 13 Feb 2020 15:23:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=96=B0=E5=A2=9E=E4=B8=A4?= =?UTF-8?q?=E4=B8=AA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/dingtools/controllers/index.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/webht/third_party/dingtools/controllers/index.php b/webht/third_party/dingtools/controllers/index.php index 45fe064d..6e7edfcb 100644 --- a/webht/third_party/dingtools/controllers/index.php +++ b/webht/third_party/dingtools/controllers/index.php @@ -23,6 +23,8 @@ class index extends CI_Controller { public function sendApproval(){ //接收数据 + $groupname = $this->input->post('groupname'); + $paytocompany = $this->input->post('paytocompany'); $img = $this->input->post('img'); $money = $this->input->post('money'); $postunionid = $this->input->post('postunionid'); @@ -67,8 +69,12 @@ class index extends CI_Controller { $postData['form_component_values']['0']['value'] = $money; $postData['form_component_values']['1']['name'] = '备注'; $postData['form_component_values']['1']['value'] = $message; - $postData['form_component_values']['2']['name'] = '附件'; - $postData['form_component_values']['2']['value'] = json_decode($img); + $postData['form_component_values']['2']['name'] = '团名'; + $postData['form_component_values']['2']['value'] = $groupname; + $postData['form_component_values']['3']['name'] = '付款单位'; + $postData['form_component_values']['3']['value'] = $paytocompany; + $postData['form_component_values']['4']['name'] = '附件'; + $postData['form_component_values']['4']['value'] = json_decode($img); //print_r(json_encode($postData));die(); $response = GetPost_http($url,json_encode($postData),'json');