fix: 修改 linkId

This commit is contained in:
zhangds 2024-03-13 16:55:35 +08:00
parent 9b7c6674ff
commit d74da89901
1 changed files with 1 additions and 2 deletions

View File

@ -117,7 +117,6 @@
localStorage.clear(); localStorage.clear();
} }
await req.axiosGet('/conf/apiStatus').then(res => { await req.axiosGet('/conf/apiStatus').then(res => {
if (res.data.update) { if (res.data.update) {
sessionStorage.setItem('notice', res.data.msg); sessionStorage.setItem('notice', res.data.msg);
@ -263,7 +262,7 @@
const key = localStorage.getItem('key'); const key = localStorage.getItem('key');
const linkId = localStorage.getItem('linkId'); const linkId = localStorage.getItem('linkId');
if (token) { if (token) {
location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}/${token}`; location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${token}`;
return return
} else { } else {
location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}`; location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}`;