mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
修正云原神自动签到错误
This commit is contained in:
parent
59f7531184
commit
2ffffa64be
@ -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())
|
||||
|
@ -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)}`)
|
||||
|
Loading…
Reference in New Issue
Block a user