From 866349d6f649f8217d54e72807c3cd2a0504f2ea Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Fri, 9 Dec 2022 15:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BE=E5=85=89=E5=AE=B6=EF=BC=9A=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=99=90=E5=88=B6=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgj.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sgj.js b/sgj.js index d2167a0..5b01ea1 100644 --- a/sgj.js +++ b/sgj.js @@ -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,不执行提现"); + } } }