From 2ffffa64bea3a28a6c1702c202f749b5b15a032e Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Sat, 15 Oct 2022 08:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=91=E5=8E=9F=E7=A5=9E?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=AD=BE=E5=88=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/mys/mihoyoApi.js | 1 + model/user.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/model/mys/mihoyoApi.js b/model/mys/mihoyoApi.js index 61e14cc..88e2882 100644 --- a/model/mys/mihoyoApi.js +++ b/model/mys/mihoyoApi.js @@ -91,6 +91,7 @@ export default class miHoYoApi { let response = {} let start = Date.now() try { + console.log(url, param) response = await fetch(url, param) } catch (error) { logger.error(error.toString()) diff --git a/model/user.js b/model/user.js index c87732c..05baeb4 100644 --- a/model/user.js +++ b/model/user.js @@ -447,6 +447,7 @@ export default class user { } }; this.getyunToken(e) + this.e=e await this.cloudSign(); await utils.sleepAsync(10000); } @@ -480,7 +481,7 @@ export default class user { return false } let tips = ['开始米游币签到任务'] - let time = userIdList.length * 3.5 + 5 + let time = userIdList.length * 100 + 5 let finishTime = moment().add(time, 's').format('MM-DD HH:mm:ss') tips.push(`\n签到用户:${userIdList.length}个`) tips.push(`\n预计需要:${this.countTime(time)}`)