Update dwnc.js

This commit is contained in:
smallfawn
2023-05-06 16:20:34 +08:00
committed by GitHub
parent 266d1b0972
commit 028f43c8b9

View File

@@ -78,11 +78,11 @@ async function start() {
} }
await Promise.all(taskall); await Promise.all(taskall);
taskall = []; taskall = [];
for (let user of userList) { /*for (let user of userList) {
await $.wait(3000) await $.wait(3000)
taskall.push(await user.share_code()); taskall.push(await user.share_code());
//await wait(1); //延迟 //await wait(1); //延迟
} }*/
await Promise.all(taskall); await Promise.all(taskall);
console.log('\n------------------- [进度] -------------------\n'); console.log('\n------------------- [进度] -------------------\n');
taskall = []; taskall = [];
@@ -750,7 +750,7 @@ class UserInfo {
if (userList.length > 0) { if (userList.length > 0) {
await start(); await start();
} }
console.log(`助力码数组${shareCodeArr}`); //console.log(`助力码数组${shareCodeArr}`);
await SendMsg(msg); await SendMsg(msg);
})() })()