From f6c0680756694936c1660df3cc23348f6c6a5e13 Mon Sep 17 00:00:00 2001 From: songchongxian <546803970@qq.com> Date: Mon, 4 Mar 2019 13:53:08 +0800 Subject: [PATCH] 。。。。。。。。。 --- js/dynCodePay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dynCodePay.js b/js/dynCodePay.js index 9d29b03..1c44d92 100644 --- a/js/dynCodePay.js +++ b/js/dynCodePay.js @@ -88,7 +88,7 @@ var webAppClass = { //alert("local:" + local); if (code == null || code === '') { //alert(code); - window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + appID + '&redirect_uri=' + encodeURIComponent(local) + '&response_type=code&scope=snsapi_base&state=1#wechat_redirect' + window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + appID + '&redirect_uri=' + encodeURIComponent(local) + '&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect' } else { return code; } -- libgit2 0.21.4