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

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

Loading…
Cancel
Save