From cc98db2b176b0264283242fd48e449f7ecda6fa6 Mon Sep 17 00:00:00 2001 From: Faker Date: Wed, 12 Jul 2023 18:03:39 +0800 Subject: [PATCH] Update jd_dwapp.js --- jd_dwapp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_dwapp.js b/jd_dwapp.js index 3350d5e..2340f62 100644 --- a/jd_dwapp.js +++ b/jd_dwapp.js @@ -42,7 +42,7 @@ if ($.isNode()) { } $.UUID = getUUID('xxxxxxxxxxxxxxxx'); await main(); - await $.wait(3000); + await $.wait(5000); } } })().catch((e) => { $.log('', `❌ ${$.name}, 失败! 原因: ${e}!`, '') }).finally(() => { $.done(); }) @@ -197,7 +197,7 @@ async function tasklist() { console.log(`${$.name} API请求失败,请检查网路重试`) } else { data = JSON.parse(data) - if (data) { + if (JSON.stringify(data.data) !='{}') { $.tasklist = data.data } }