mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-05-07 03:48:44 +08:00
Update jd_dwapp.js
This commit is contained in:
parent
19f7f995c9
commit
cc98db2b17
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user