|
@@ -33,7 +33,6 @@ function getQueryVariable(variable) {
|
|
// 微信鉴权登入
|
|
// 微信鉴权登入
|
|
var isAuthorization = getQueryVariable('isAuthorization');
|
|
var isAuthorization = getQueryVariable('isAuthorization');
|
|
if (isAuthorization) {
|
|
if (isAuthorization) {
|
|
- alert(1)
|
|
|
|
var url = 'https://jiasm.zfire.top/recycleh5/pages/login/indexs';
|
|
var url = 'https://jiasm.zfire.top/recycleh5/pages/login/indexs';
|
|
const href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxaddd13c267e81e70&redirect_uri=${url}&response_type=code&scope=snsapi_userinfo#wechat_redirect`;
|
|
const href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxaddd13c267e81e70&redirect_uri=${url}&response_type=code&scope=snsapi_userinfo#wechat_redirect`;
|
|
window.location.href = href;
|
|
window.location.href = href;
|