From a374d1a07fac317d23186ac79415c5a628400fca Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Mon, 1 Apr 2019 22:13:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/payment/Weixin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index 0ce677796..ed70239a1 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -231,7 +231,7 @@ class Weixin 'mch_id' => $this->config['mch_id'], 'body' => $params['site_name'].'-'.$params['name'], 'nonce_str' => md5(time().rand().$params['order_no']), - 'notify_url' => $params['notify_url'], + 'notify_url' => str_replace('https', 'http', $params['notify_url']), 'openid' => ($trade_type == 'JSAPI') ? $params['user']['weixin_openid'] : '', 'out_trade_no' => $params['order_no'].GetNumberCode(6), 'spbill_create_ip' => GetClientIP(),