Update jd_dwapp.js

This commit is contained in:
Faker 2023-07-12 18:03:39 +08:00
parent 19f7f995c9
commit cc98db2b17

View File

@ -42,7 +42,7 @@ if ($.isNode()) {
} }
$.UUID = getUUID('xxxxxxxxxxxxxxxx'); $.UUID = getUUID('xxxxxxxxxxxxxxxx');
await main(); await main();
await $.wait(3000); await $.wait(5000);
} }
} }
})().catch((e) => { $.log('', `${$.name}, 失败! 原因: ${e}!`, '') }).finally(() => { $.done(); }) })().catch((e) => { $.log('', `${$.name}, 失败! 原因: ${e}!`, '') }).finally(() => { $.done(); })
@ -197,7 +197,7 @@ async function tasklist() {
console.log(`${$.name} API请求失败请检查网路重试`) console.log(`${$.name} API请求失败请检查网路重试`)
} else { } else {
data = JSON.parse(data) data = JSON.parse(data)
if (data) { if (JSON.stringify(data.data) !='{}') {
$.tasklist = data.data $.tasklist = data.data
} }
} }