mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-16 15:40:42 +08:00
Update jd_task_newUnique.js
This commit is contained in:
parent
8db5f87549
commit
35d009caf6
@ -134,13 +134,14 @@ export class Main extends Template {
|
|||||||
status = 1
|
status = 1
|
||||||
}
|
}
|
||||||
else if (extraType == 'assistTaskDetail') {
|
else if (extraType == 'assistTaskDetail') {
|
||||||
|
try {
|
||||||
if (this.help.includes(user)) {
|
if (this.help.includes(user)) {
|
||||||
await this.setTemp(user, extra.itemId)
|
await this.setTemp(user, extra.itemId)
|
||||||
}
|
}
|
||||||
if (this.inviter) {
|
if (this.inviter.length) {
|
||||||
let cc = this.inviter[this.n % this.inviter.length]
|
let cc = this.inviter[this.n % this.inviter.length]
|
||||||
this.n++
|
this.n++
|
||||||
if (cc.user == user) {
|
if (cc.user == user && this.inviter[this.n % this.inviter.length]) {
|
||||||
cc = this.inviter[this.n % this.inviter.length]
|
cc = this.inviter[this.n % this.inviter.length]
|
||||||
}
|
}
|
||||||
p.log("正在助力:", cc.user)
|
p.log("正在助力:", cc.user)
|
||||||
@ -160,6 +161,8 @@ export class Main extends Template {
|
|||||||
p.log(this.haskey(doIt, 'data.bizMsg') || doIt)
|
p.log(this.haskey(doIt, 'data.bizMsg') || doIt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (e) {
|
||||||
|
}
|
||||||
status = 1
|
status = 1
|
||||||
}
|
}
|
||||||
else if (['shoppingActivity', 'productsInfo', 'browseShop', 'addCart', 'followShop', 'followChannel'].includes(extraType)) {
|
else if (['shoppingActivity', 'productsInfo', 'browseShop', 'addCart', 'followShop', 'followChannel'].includes(extraType)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user