Selaa lähdekoodia

Merge branch 'master' of http://git.ycjcjy.com/dianyang/colmo-h5

李志伟 3 vuotta sitten
vanhempi
commit
134301a62a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/utils/initial.js

+ 1
- 1
src/utils/initial.js Näytä tiedosto

@@ -125,7 +125,7 @@ export function redirect (force) {
125 125
   if (force || wxfirst || !queryCode || queryCode === originCode) {
126 126
 
127 127
     const local = encodeURIComponent(location.origin + location.pathname)
128
-    const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd3bab568bc42d1de&redirect_uri=${local}&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect`
128
+    const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd3bab568bc42d1de&redirect_uri=${local}&response_type=code&scope=snsapi_base&state=123#wechat_redirect`
129 129
     window.location.href = url;
130 130
   }
131 131
 }