Yansen 1 rok temu
rodzic
commit
230be34831
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/utils/wx.js

+ 1
- 1
src/utils/wx.js Wyświetl plik

21
 export function redirect () {
21
 export function redirect () {
22
   if (isDev) return;
22
   if (isDev) return;
23
 
23
 
24
-  const appid = APPID || 'wx5d0c5a7f210d872f';
24
+  const appid = APPID || 'wx4f4df173d36091e1';
25
   const local = encodeURIComponent(location.origin + location.pathname)
25
   const local = encodeURIComponent(location.origin + location.pathname)
26
   const scope = 'snsapi_userinfo'; // snsapi_base
26
   const scope = 'snsapi_userinfo'; // snsapi_base
27
   const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${local}&response_type=code&scope=${scope}&state=123#wechat_redirect`
27
   const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${local}&response_type=code&scope=${scope}&state=123#wechat_redirect`