mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Update jd_speed_sign.js
This commit is contained in:
parent
65c8236fe0
commit
1d0ab25bc5
@ -43,14 +43,14 @@ if (new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate() == date.getDa
|
||||
for (let i = 0; i < cookiesArr.length; i++) {
|
||||
if (cookiesArr[i]) {
|
||||
var cookie = cookiesArr[i];
|
||||
var url_uuid = randomString(16);
|
||||
var url_uuid = randomString(16);
|
||||
|
||||
message = '';
|
||||
TaskList.push(jdGlobal(cookie,url_uuid));
|
||||
if (i == (cookiesArr.length - 1) || TaskList.length == maxThread) {
|
||||
await Promise.all(TaskList);
|
||||
if (!llAPIError){
|
||||
if (TaskList.length == maxThread){
|
||||
if (i != (cookiesArr.length - 1)){
|
||||
console.log(`当前批量完成,等待30秒`);
|
||||
await $.wait(30 * 1000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user