fix: 修改 linkId
This commit is contained in:
parent
9b7c6674ff
commit
d74da89901
|
@ -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}`;
|
||||||
|
|
Loading…
Reference in New Issue