f
This commit is contained in:
@@ -202,7 +202,7 @@ const h5WeixinLogin = async () => {
|
|||||||
const h5WeixinGetCode = () => {
|
const h5WeixinGetCode = () => {
|
||||||
const currentUrl = window.location.href;
|
const currentUrl = window.location.href;
|
||||||
let redirectUri = encodeURIComponent(currentUrl);
|
let redirectUri = encodeURIComponent(currentUrl);
|
||||||
let appId = "wxd391e40295bd9dfb";
|
let appId = "wx00f616268b0d0061";
|
||||||
let state = "snsapi_base";
|
let state = "snsapi_base";
|
||||||
let scope = "snsapi_base";
|
let scope = "snsapi_base";
|
||||||
let authUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${redirectUri}&response_type=code&scope=${scope}&state=${state}#wechat_redirect`;
|
let authUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${redirectUri}&response_type=code&scope=${scope}&state=${state}#wechat_redirect`;
|
||||||
|
|||||||
Reference in New Issue
Block a user