From 0a7a8c9668c094178acd3b0f282603da84c8d6c7 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 25 May 2019 13:42:52 +0800 Subject: [PATCH] wx pay --- extend/payment/Weixin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index 271b4c231..bfc890458 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -580,6 +580,7 @@ class Weixin // 授权code $url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.$this->config['appid'].'&redirect_uri='.$redirect_uri.'&response_type=code&scope=snsapi_base&state=callback#wechat_redirect'; + die($url); exit(header('location:'.$url)); }