广汽传祺: 更新助力多次

This commit is contained in:
smallfawn
2023-11-22 13:25:26 +08:00
committed by GitHub
parent e5155c888c
commit 3d2ac9019b

View File

@@ -247,7 +247,9 @@ class UserInfo {
for (let taskId of this.powerList) {
await this._join_power(taskId)//加入任务
await this._get_power_id(taskId)//获取助力的utid
await $.wait(2000)
await this._share_power(taskId)//分享
await $.wait(2000)
if (this.powerId !== "") {
await this._power(this.powerId)
}
@@ -375,7 +377,7 @@ class UserInfo {
for (let i of result.body.rows) {
if (i.isFinish == 1) {
console.log(i.title)
this.powerList = [i.taskId]
this.powerList.push(i.taskId)
}
}
} else {