From c1243a793c3346edb70e3ec13d3e0de3b0bd50e1 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 12 Jul 2019 11:02:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A6=E5=8F=91=E8=B4=A2=E5=8A=A1=E7=9A=84?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/WxpayService.php | 6 ++++++ 1 file changed, 6 insertions(+) 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; }