|
@@ -21,7 +21,7 @@ export function getCode () {
|
21
|
21
|
export function redirect () {
|
22
|
22
|
if (isDev) return;
|
23
|
23
|
|
24
|
|
- const appid = APPID || 'wx5d0c5a7f210d872f';
|
|
24
|
+ const appid = APPID || 'wx4f4df173d36091e1';
|
25
|
25
|
const local = encodeURIComponent(location.origin + location.pathname)
|
26
|
26
|
const scope = 'snsapi_userinfo'; // snsapi_base
|
27
|
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`
|