张延森 3 лет назад
Родитель
Сommit
5f06aaf9a5
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/utils/initial.js

+ 1
- 1
src/utils/initial.js Просмотреть файл

@@ -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
 }