|
@@ -35,7 +35,7 @@ function getQueryVariable(variable) {
|
|
if (isAuthorization) {
|
|
if (isAuthorization) {
|
|
alert(1)
|
|
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=wxd935838591c00e16&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;
|
|
} else {
|
|
} else {
|
|
var code = getQueryVariable('code');
|
|
var code = getQueryVariable('code');
|
|
@@ -45,7 +45,7 @@ function getQueryVariable(variable) {
|
|
} else if (!uni.getStorageSync('code')) {
|
|
} else if (!uni.getStorageSync('code')) {
|
|
alert("重定向")
|
|
alert("重定向")
|
|
const url = location.href;
|
|
const url = location.href;
|
|
- const href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd935838591c00e16&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;
|
|
}
|
|
}
|
|
}
|
|
}
|