Commit b722260cf98c9b395d77f62d3371ce10bcbdfb74
1 parent
cb548001
去缓存
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/parkPay/orderPay.vue
@@ -96,7 +96,7 @@ export default { | @@ -96,7 +96,7 @@ export default { | ||
96 | var code = this.getUrlParam('code'); | 96 | var code = this.getUrlParam('code'); |
97 | var local = window.location.href; | 97 | var local = window.location.href; |
98 | if (code == null || code === '') { | 98 | if (code == null || code === '') { |
99 | - 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' | 99 | + 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' |
100 | } else { | 100 | } else { |
101 | return code; | 101 | return code; |
102 | } | 102 | } |