Merge branch 'feature/pay'

mobile-first
lyt 6 years ago
commit c2d62595b2

@ -41,6 +41,7 @@ class AlipayTradeService extends CI_Controller
$this->load->library('alipay/AopSdk');
// real URL
$this->config->load('alipay');
$this->config->load('wxpay', true);
// test URL
// $this->config->load('dev_alipay');
@ -521,6 +522,7 @@ class AlipayTradeService extends CI_Controller
if (empty($pn_txn_id)) {
echo "done. recorde count:".$int;
}
async_curl($this->config->item('send_notify_url', 'wxpay'));
return;
}

@ -82,6 +82,7 @@ class WxpayService extends CI_Controller {
$response['return_msg'] = 'OK';
}
}
async_curl($this->config->item('send_notify_url', 'wxpay'));
return $this->response_to_wx($response);
}

Loading…
Cancel
Save