From c56900363dbe795d4af78d430ec50682b90e03f0 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 25 May 2019 20:22:57 +0800 Subject: [PATCH] wx pay --- extend/payment/Weixin.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index eb1783a46..898ed83a5 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -252,9 +252,11 @@ class Weixin */ private function PayHtml($pay_data, $redirect_url) { - $success_url = urlencode(PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>0])); - $error_url = urlencode(PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>-1])); + // 支付跳转地址 + $success_url = PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>0]); + $error_url = PluginsHomeUrl('weixinwebauthorization', 'auth', 'paytips', ['status'=>-1]); + // 支付代码 exit('
-- GitLab