拾光家:增加限制判断

This commit is contained in:
smallfawn
2022-12-09 15:49:31 +08:00
committed by GitHub
parent 5a96542953
commit 866349d6f6

14
sgj.js
View File

@@ -258,10 +258,24 @@ class UserInfo {
}
} else {
console.log(`账号[${this.index}]当前账号今日任务已完成`);
if (this.shebei_id !== undefined) {
console.log('\n================== 开始提现 ==================\n');
await wait(3)
await this.tx_check();
} else {
console.log("未填写c-shebei-id,不执行提现");
}
}
} else {
console.log(`账号[${this.index}]当前账号积攒的未完成的数量太多了,手动完成再来运行吧`);
if (this.shebei_id !== undefined) {
console.log('\n================== 开始提现 ==================\n');
await wait(3)
await this.tx_check();
} else {
console.log("未填写c-shebei-id,不执行提现");
}
}
}