From 8d51f6f07f4a77d378674dcd6bb500b202fd4715 Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 14 May 2020 13:59:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/dingtools/controllers/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webht/third_party/dingtools/controllers/index.php b/webht/third_party/dingtools/controllers/index.php index 6e7edfcb..fb9b6683 100644 --- a/webht/third_party/dingtools/controllers/index.php +++ b/webht/third_party/dingtools/controllers/index.php @@ -30,6 +30,7 @@ class index extends CI_Controller { $postunionid = $this->input->post('postunionid'); $approvers = $this->input->post('approvers'); $message = $this->input->post('message'); + $currency = $this->input->post('currency'); if(empty($postunionid)){ exit('参数错误'); @@ -65,7 +66,7 @@ class index extends CI_Controller { $postData['approvers'] = $approversidstr; $postData['form_component_values'] = array(); - $postData['form_component_values']['0']['name'] = '报账金额'; + $postData['form_component_values']['0']['name'] = '金额'; $postData['form_component_values']['0']['value'] = $money; $postData['form_component_values']['1']['name'] = '备注'; $postData['form_component_values']['1']['value'] = $message; @@ -75,6 +76,8 @@ class index extends CI_Controller { $postData['form_component_values']['3']['value'] = $paytocompany; $postData['form_component_values']['4']['name'] = '附件'; $postData['form_component_values']['4']['value'] = json_decode($img); + $postData['form_component_values']['5']['name'] = '币种'; + $postData['form_component_values']['5']['value'] = $currency; //print_r(json_encode($postData));die(); $response = GetPost_http($url,json_encode($postData),'json');