|
|
@@ -5,7 +5,7 @@ const appId = 'wx322e246549d7620d';
|
|
|
const appSecret = '118059d75bc8c1a08162fc8a8cf5ac04';
|
|
|
|
|
|
//经过编码后的回调地址
|
|
|
-const redireactUrl = 'http://yyzs.nanyue6688.com/vote-h5/index.html#/';
|
|
|
+const redireactUrl = 'https://yyzs.nanyue6688.com/vote-h5/index.html#/';
|
|
|
|
|
|
//获取用户授权信息Code
|
|
|
const authUrl = (path) => { return `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${encodeURIComponent(redireactUrl+path)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`};
|