mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
广汽传祺: 更新助力多次
This commit is contained in:
@@ -247,7 +247,9 @@ class UserInfo {
|
|||||||
for (let taskId of this.powerList) {
|
for (let taskId of this.powerList) {
|
||||||
await this._join_power(taskId)//加入任务
|
await this._join_power(taskId)//加入任务
|
||||||
await this._get_power_id(taskId)//获取助力的utid
|
await this._get_power_id(taskId)//获取助力的utid
|
||||||
|
await $.wait(2000)
|
||||||
await this._share_power(taskId)//分享
|
await this._share_power(taskId)//分享
|
||||||
|
await $.wait(2000)
|
||||||
if (this.powerId !== "") {
|
if (this.powerId !== "") {
|
||||||
await this._power(this.powerId)
|
await this._power(this.powerId)
|
||||||
}
|
}
|
||||||
@@ -375,7 +377,7 @@ class UserInfo {
|
|||||||
for (let i of result.body.rows) {
|
for (let i of result.body.rows) {
|
||||||
if (i.isFinish == 1) {
|
if (i.isFinish == 1) {
|
||||||
console.log(i.title)
|
console.log(i.title)
|
||||||
this.powerList = [i.taskId]
|
this.powerList.push(i.taskId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user