fix: 增加 key

This commit is contained in:
zhangds 2024-03-13 16:39:24 +08:00
parent 48adb9ab83
commit 624256e209
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,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}/${token}`; location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}/${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}`;