2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

修正云原神自动签到错误

This commit is contained in:
Ctrlcvs 2022-10-15 08:24:00 +08:00
parent 59f7531184
commit d626caa126

View File

@ -447,6 +447,7 @@ export default class user {
} }
}; };
this.getyunToken(e) this.getyunToken(e)
this.e=e
await this.cloudSign(); await this.cloudSign();
await utils.sleepAsync(10000); await utils.sleepAsync(10000);
} }
@ -480,7 +481,7 @@ export default class user {
return false return false
} }
let tips = ['开始米游币签到任务'] 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') let finishTime = moment().add(time, 's').format('MM-DD HH:mm:ss')
tips.push(`\n签到用户:${userIdList.length}`) tips.push(`\n签到用户:${userIdList.length}`)
tips.push(`\n预计需要:${this.countTime(time)}`) tips.push(`\n预计需要:${this.countTime(time)}`)