mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
Update kfh.js
This commit is contained in:
@@ -127,7 +127,7 @@ class Task {
|
|||||||
let taskall = [];
|
let taskall = [];
|
||||||
for (let user of userList) {
|
for (let user of userList) {
|
||||||
if (user.ckStatus) {
|
if (user.ckStatus) {
|
||||||
taskall.push(user.main());
|
taskall.push(await user.main());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await Promise.all(taskall);
|
await Promise.all(taskall);
|
||||||
@@ -136,10 +136,10 @@ class Task {
|
|||||||
if (userList[i].ckStatus) {
|
if (userList[i].ckStatus) {
|
||||||
let sharCode = shareList[Number(i) + 1]
|
let sharCode = shareList[Number(i) + 1]
|
||||||
if (sharCode !== undefined) {
|
if (sharCode !== undefined) {
|
||||||
taskall.push(userList[i].help(sharCode));
|
taskall.push(await userList[i].help(sharCode));
|
||||||
} else {
|
} else {
|
||||||
if (userList.length > 1) {
|
if (userList.length > 1) {
|
||||||
userList[i].help(shareList[0])
|
userList[i].help(await shareList[0])
|
||||||
} else {
|
} else {
|
||||||
$.log(`账号数目为1 不执行内部助力`)
|
$.log(`账号数目为1 不执行内部助力`)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user