Update jd_task_newUnique.js

This commit is contained in:
可达鸭 2025-06-24 16:20:09 +08:00
parent 8db5f87549
commit 35d009caf6

View File

@ -134,13 +134,14 @@ export class Main extends Template {
status = 1
}
else if (extraType == 'assistTaskDetail') {
try {
if (this.help.includes(user)) {
await this.setTemp(user, extra.itemId)
}
if (this.inviter) {
if (this.inviter.length) {
let cc = this.inviter[this.n % this.inviter.length]
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]
}
p.log("正在助力:", cc.user)
@ -160,6 +161,8 @@ export class Main extends Template {
p.log(this.haskey(doIt, 'data.bizMsg') || doIt)
}
}
} catch (e) {
}
status = 1
}
else if (['shoppingActivity', 'productsInfo', 'browseShop', 'addCart', 'followShop', 'followChannel'].includes(extraType)) {