From ea9141eff085cef8f06371068770737c366df42d Mon Sep 17 00:00:00 2001 From: Shgdym <shgdym@hotmail.com> Date: Sat, 10 Sep 2022 12:16:03 +0800 Subject: [PATCH] Update jd_fruit.js --- jd_fruit.js | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/jd_fruit.js b/jd_fruit.js index 0ed3240..453a01c 100644 --- a/jd_fruit.js +++ b/jd_fruit.js @@ -622,27 +622,27 @@ async function turntableFarm() { } } //天天抽奖助力 - console.log('开始天天抽奖--好友助力--每人每天只有三次助力机会.') - for (let code of newShareCodes) { - if (code === $.farmInfo.farmUserPro.shareCode) { - console.log('天天抽奖-不能自己给自己助力\n') - continue - } +// console.log('开始天天抽奖--好友助力--每人每天只有三次助力机会.') +// for (let code of newShareCodes) { +// if (code === $.farmInfo.farmUserPro.shareCode) { +// console.log('天天抽奖-不能自己给自己助力\n') +// continue +// } - await lotteryMasterHelp(code); - if ($.lotteryMasterHelpRes.helpResult) { - // console.log('天天抽奖助力结果',lotteryMasterHelpRes.helpResult) - if ($.lotteryMasterHelpRes.helpResult.code === '0') { - console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}成功\n`) - } else if ($.lotteryMasterHelpRes.helpResult.code === '11') { - console.log(`天天抽奖-不要重复助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}\n`) - } else if ($.lotteryMasterHelpRes.helpResult.code === '13') { - console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}失败,助力次数耗尽\n`); - break; - } - } - } - console.log(`---天天抽奖次数remainLotteryTimes----${remainLotteryTimes}次`) +// await lotteryMasterHelp(code); +// if ($.lotteryMasterHelpRes.helpResult) { +// // console.log('天天抽奖助力结果',lotteryMasterHelpRes.helpResult) +// if ($.lotteryMasterHelpRes.helpResult.code === '0') { +// console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}成功\n`) +// } else if ($.lotteryMasterHelpRes.helpResult.code === '11') { +// console.log(`天天抽奖-不要重复助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}\n`) +// } else if ($.lotteryMasterHelpRes.helpResult.code === '13') { +// console.log(`天天抽奖-助力${$.lotteryMasterHelpRes.helpResult.masterUserInfo.nickName}失败,助力次数耗尽\n`); +// break; +// } +// } +// } +// console.log(`---天天抽奖次数remainLotteryTimes----${remainLotteryTimes}次`) //抽奖 if (remainLotteryTimes > 0) { console.log('开始抽奖')