diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index 7ee6a3d9..5df1530b 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -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; } diff --git a/webht/third_party/pay/controllers/WxpayService.php b/webht/third_party/pay/controllers/WxpayService.php index 60b5b837..b0a95d86 100644 --- a/webht/third_party/pay/controllers/WxpayService.php +++ b/webht/third_party/pay/controllers/WxpayService.php @@ -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); }