团款审批增加“渠道类型”

hotfix/paypal-note
LiaoYijun 4 years ago
parent dfaf8a54b4
commit b9d9f3ac23

@ -31,6 +31,7 @@ class index extends CI_Controller {
$approvers = $this->input->post('approvers'); $approvers = $this->input->post('approvers');
$message = $this->input->post('message'); $message = $this->input->post('message');
$currency = $this->input->post('currency'); $currency = $this->input->post('currency');
$channelType = $this->input->post('ChannelType');
if(empty($postunionid)){ if(empty($postunionid)){
exit('参数错误'); exit('参数错误');
@ -78,6 +79,10 @@ class index extends CI_Controller {
$postData['form_component_values']['4']['value'] = json_decode($img); $postData['form_component_values']['4']['value'] = json_decode($img);
$postData['form_component_values']['5']['name'] = '币种'; $postData['form_component_values']['5']['name'] = '币种';
$postData['form_component_values']['5']['value'] = $currency; $postData['form_component_values']['5']['value'] = $currency;
$postData['form_component_values']['5']['name'] = '币种';
$postData['form_component_values']['5']['value'] = $currency;
$postData['form_component_values']['6']['name'] = '渠道类型';
$postData['form_component_values']['6']['value'] = $channelType;
//print_r(json_encode($postData));die(); //print_r(json_encode($postData));die();
$response = GetPost_http($url,json_encode($postData),'json'); $response = GetPost_http($url,json_encode($postData),'json');

Loading…
Cancel
Save