mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Update jd_fruit.js
This commit is contained in:
parent
940000d715
commit
ea9141eff0
40
jd_fruit.js
40
jd_fruit.js
@ -622,27 +622,27 @@ async function turntableFarm() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//天天抽奖助力
|
//天天抽奖助力
|
||||||
console.log('开始天天抽奖--好友助力--每人每天只有三次助力机会.')
|
// console.log('开始天天抽奖--好友助力--每人每天只有三次助力机会.')
|
||||||
for (let code of newShareCodes) {
|
// for (let code of newShareCodes) {
|
||||||
if (code === $.farmInfo.farmUserPro.shareCode) {
|
// if (code === $.farmInfo.farmUserPro.shareCode) {
|
||||||
console.log('天天抽奖-不能自己给自己助力\n')
|
// console.log('天天抽奖-不能自己给自己助力\n')
|
||||||
continue
|
// continue
|
||||||
}
|
// }
|
||||||
|
|
||||||
await lotteryMasterHelp(code);
|
// await lotteryMasterHelp(code);
|
||||||
if ($.lotteryMasterHelpRes.helpResult) {
|
// if ($.lotteryMasterHelpRes.helpResult) {
|
||||||
// console.log('天天抽奖助力结果',lotteryMasterHelpRes.helpResult)
|
// // console.log('天天抽奖助力结果',lotteryMasterHelpRes.helpResult)
|
||||||
if ($.lotteryMasterHelpRes.helpResult.code === '0') {
|
// if ($.lotteryMasterHelpRes.helpResult.code === '0') {
|
||||||
console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}成功\n`)
|
// console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}成功\n`)
|
||||||
} else if ($.lotteryMasterHelpRes.helpResult.code === '11') {
|
// } else if ($.lotteryMasterHelpRes.helpResult.code === '11') {
|
||||||
console.log(`天天抽奖-不要重复助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}\n`)
|
// console.log(`天天抽奖-不要重复助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}\n`)
|
||||||
} else if ($.lotteryMasterHelpRes.helpResult.code === '13') {
|
// } else if ($.lotteryMasterHelpRes.helpResult.code === '13') {
|
||||||
console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}失败,助力次数耗尽\n`);
|
// console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}失败,助力次数耗尽\n`);
|
||||||
break;
|
// break;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
console.log(`---天天抽奖次数remainLotteryTimes----${remainLotteryTimes}次`)
|
// console.log(`---天天抽奖次数remainLotteryTimes----${remainLotteryTimes}次`)
|
||||||
//抽奖
|
//抽奖
|
||||||
if (remainLotteryTimes > 0) {
|
if (remainLotteryTimes > 0) {
|
||||||
console.log('开始抽奖')
|
console.log('开始抽奖')
|
||||||
|
Loading…
Reference in New Issue
Block a user