mirror of
https://github.com/okyyds/yyds.git
synced 2026-07-12 13:51:16 +08:00
fix
This commit is contained in:
@@ -55,13 +55,19 @@ console.log("TG https://t.me/okyydsnb")
|
|||||||
for(let i of id.assignmentList) {
|
for(let i of id.assignmentList) {
|
||||||
if(i.assignmentName !== "积分抽奖赢好礼"){
|
if(i.assignmentName !== "积分抽奖赢好礼"){
|
||||||
console.log(`做${i.assignmentName}任务`)
|
console.log(`做${i.assignmentName}任务`)
|
||||||
for(let j of i.ext.shoppingActivity){
|
if(i.userVerificationInfo) {
|
||||||
b = await task("doInteractiveAssignment", {"encryptProjectId":`${encryptProjectId}`,"encryptAssignmentId":`${i.encryptAssignmentId}`,"itemId":`${j.advId}`,"sourceCode":"aceaceqingzhan"})
|
for(let j of i.ext.shoppingActivity){
|
||||||
console.log(b.msg)
|
b = await task("doInteractiveAssignment", {"encryptProjectId":`${encryptProjectId}`,"encryptAssignmentId":`${i.encryptAssignmentId}`,"itemId":`${j.advId}`,"sourceCode":"aceaceqingzhan"})
|
||||||
if(b.msg == "该用户不符合资质校验条件"){
|
console.log(b.msg)
|
||||||
return
|
if(b.msg == "该用户不符合资质校验条件"){
|
||||||
}
|
return
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
console.log("账号返回数据为空,请到活动页面查看是否黑号")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
await $.wait(2000)
|
await $.wait(2000)
|
||||||
}else if(i.assignmentName == "积分抽奖赢好礼"){
|
}else if(i.assignmentName == "积分抽奖赢好礼"){
|
||||||
drawId = i.encryptAssignmentId;
|
drawId = i.encryptAssignmentId;
|
||||||
@@ -73,7 +79,7 @@ console.log("TG https://t.me/okyydsnb")
|
|||||||
if(c.msg == "兑换积分不足") {
|
if(c.msg == "兑换积分不足") {
|
||||||
console.log("兑换积分不足")
|
console.log("兑换积分不足")
|
||||||
return
|
return
|
||||||
}else {
|
}else if(c.msg == "success"){
|
||||||
if(c.rewardsInfo.successRewards){
|
if(c.rewardsInfo.successRewards){
|
||||||
for(let k in c.rewardsInfo.successRewards) {
|
for(let k in c.rewardsInfo.successRewards) {
|
||||||
let data = c.rewardsInfo.successRewards[k]
|
let data = c.rewardsInfo.successRewards[k]
|
||||||
@@ -82,6 +88,9 @@ console.log("TG https://t.me/okyydsnb")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}else {
|
||||||
|
console.log("账号异常,请到活动页面查看是否黑号")
|
||||||
|
return
|
||||||
}
|
}
|
||||||
await $.wait(2000)
|
await $.wait(2000)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user