diff --git a/webht/third_party/pay/controllers/WxpayService.php b/webht/third_party/pay/controllers/WxpayService.php index 2ea28dae..60b5b837 100644 --- a/webht/third_party/pay/controllers/WxpayService.php +++ b/webht/third_party/pay/controllers/WxpayService.php @@ -93,6 +93,12 @@ class WxpayService extends CI_Controller { } async_curl($this->config->item('send_notify_url', 'wxpay')); async_curl('https://www.mycht.cn/webht.php/apps/pay/alipaytradeservice/get_billfile'); + /** + * 每月20号发送退款给财务 + */ + if (date('d')==='20') { + async_curl('https://www.mycht.cn/webht.php/apps/pay/paymentservice/refund_finance_notify'); + } return; }