This commit is contained in:
lxk0301
2021-02-10 12:47:05 +08:00
parent 54afdfb6bc
commit 465e507a8f
2 changed files with 3 additions and 3 deletions

View File

@@ -357,7 +357,7 @@ function shareCodesFormat() {
const tempIndex = $.index > inviteCodes.length ? (inviteCodes.length - 1) : ($.index - 1); const tempIndex = $.index > inviteCodes.length ? (inviteCodes.length - 1) : ($.index - 1);
$.newShareCodes = inviteCodes[tempIndex].split('@'); $.newShareCodes = inviteCodes[tempIndex].split('@');
} }
const readShareCodeRes = null // await readShareCode(); const readShareCodeRes = await readShareCode();
if (readShareCodeRes && readShareCodeRes.code === 200) { if (readShareCodeRes && readShareCodeRes.code === 200) {
$.newShareCodes = [...new Set([...$.newShareCodes, ...(readShareCodeRes.data || [])])]; $.newShareCodes = [...new Set([...$.newShareCodes, ...(readShareCodeRes.data || [])])];
} }

View File

@@ -49,8 +49,8 @@ if ($.isNode()) {
} }
const JD_API_HOST = 'https://api.m.jd.com/client.action'; const JD_API_HOST = 'https://api.m.jd.com/client.action';
const inviteCodes = [ const inviteCodes = [
`oMZeXeJKo94DC7M4NLZy_70wCimaBxFoNSjC7fDqCrR7aXDs@oMZeDqEh0-kDXqdqfdEIs3n_mKlPzpEr99gPE-69Wl7rLLI`, `vcZUAJEW6NATdpttV8s8s2aZ4u1sc6Q-bWfi11uhlAKAbA`,
`oMZeXeJKo94DC7M4NLZy_70wCimaBxFoNSjC7fDqCrR7aXDs@oMZeDqEh0-kDXqdqfdEIs3n_mKlPzpEr99gPE-69Wl7rLLI`, `vcZUAJEW6NATdpttV8s8s2aZ4u1sc6Q-bWfi11uhlAKAbA`,
]; ];
!(async () => { !(async () => {
await requireConfig(); await requireConfig();