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