Commit f6c0680756694936c1660df3cc23348f6c6a5e13
1 parent
91d337d4
。。。。。。。。。
Showing
1 changed file
with
1 additions
and
1 deletions
js/dynCodePay.js
... | ... | @@ -88,7 +88,7 @@ var webAppClass = { |
88 | 88 | //alert("local:" + local); |
89 | 89 | if (code == null || code === '') { |
90 | 90 | //alert(code); |
91 | - 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' | |
91 | + 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' | |
92 | 92 | } else { |
93 | 93 | return code; |
94 | 94 | } | ... | ... |