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');