Update kfh.js

This commit is contained in:
smallfawn
2024-03-26 17:53:38 +08:00
committed by GitHub
parent 6be54c3100
commit b2512d1cd1

View File

@@ -135,11 +135,14 @@ class Task {
for (let i in userList) {
if (userList[i].ckStatus) {
let sharCode = shareList[Number(i) + 1]
if (sharCode !== undefined) {
console.log(userList[i].ck + "=>" + sharCode)
taskall.push(await userList[i].help(sharCode));
} else {
if (userList.length > 1) {
userList[i].help(await shareList[0])
console.log(userList[i].ck + "=>" + shareList[0])
taskall.push(await userList[i].help(shareList[0]));
} else {
$.log(`账号数目为1 不执行内部助力`)