fix
parent
96f643b420
commit
2df570b8db
|
@ -55,6 +55,7 @@ console.log("TG https://t.me/okyydsnb")
|
|||
for(let i of id.assignmentList) {
|
||||
if(i.assignmentName !== "积分抽奖赢好礼"){
|
||||
console.log(`做${i.assignmentName}任务`)
|
||||
if(i.userVerificationInfo) {
|
||||
for(let j of i.ext.shoppingActivity){
|
||||
b = await task("doInteractiveAssignment", {"encryptProjectId":`${encryptProjectId}`,"encryptAssignmentId":`${i.encryptAssignmentId}`,"itemId":`${j.advId}`,"sourceCode":"aceaceqingzhan"})
|
||||
console.log(b.msg)
|
||||
|
@ -62,6 +63,11 @@ console.log("TG https://t.me/okyydsnb")
|
|||
return
|
||||
}
|
||||
}
|
||||
}else {
|
||||
console.log("账号返回数据为空,请到活动页面查看是否黑号")
|
||||
return
|
||||
}
|
||||
|
||||
await $.wait(2000)
|
||||
}else if(i.assignmentName == "积分抽奖赢好礼"){
|
||||
drawId = i.encryptAssignmentId;
|
||||
|
@ -73,7 +79,7 @@ console.log("TG https://t.me/okyydsnb")
|
|||
if(c.msg == "兑换积分不足") {
|
||||
console.log("兑换积分不足")
|
||||
return
|
||||
}else {
|
||||
}else if(c.msg == "success"){
|
||||
if(c.rewardsInfo.successRewards){
|
||||
for(let k in c.rewardsInfo.successRewards) {
|
||||
let data = c.rewardsInfo.successRewards[k]
|
||||
|
@ -82,6 +88,9 @@ console.log("TG https://t.me/okyydsnb")
|
|||
}
|
||||
}
|
||||
}
|
||||
}else {
|
||||
console.log("账号异常,请到活动页面查看是否黑号")
|
||||
return
|
||||
}
|
||||
await $.wait(2000)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue