mirror of https://github.com/KingRan/KR.git
parent
aca01774ca
commit
754325a95c
|
@ -132,12 +132,6 @@ async function jdFruit() {
|
||||||
await getTenWaterAward(); //领取10浇水奖励
|
await getTenWaterAward(); //领取10浇水奖励
|
||||||
await getWaterFriendGotAward(); //领取为2好友浇水奖励
|
await getWaterFriendGotAward(); //领取为2好友浇水奖励
|
||||||
await duck();
|
await duck();
|
||||||
lnrun++;
|
|
||||||
if (lnrun == 10) {
|
|
||||||
console.log(`\n访问接口次数达到10次,休息30秒.....\n`);
|
|
||||||
await $.wait(30 * 1000);
|
|
||||||
lnrun = 0;
|
|
||||||
}
|
|
||||||
if (!process.env.DO_TEN_WATER_AGAIN) {
|
if (!process.env.DO_TEN_WATER_AGAIN) {
|
||||||
console.log('执行再次浇水')
|
console.log('执行再次浇水')
|
||||||
await doTenWaterAgain(); //再次浇水
|
await doTenWaterAgain(); //再次浇水
|
||||||
|
@ -559,7 +553,7 @@ async function turntableFarm() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(`---天天抽奖次数remainLotteryTimes----${remainLotteryTimes}次`)
|
console.log(`---天天抽奖次数----${remainLotteryTimes}次`)
|
||||||
//抽奖
|
//抽奖
|
||||||
if (remainLotteryTimes > 0) {
|
if (remainLotteryTimes > 0) {
|
||||||
console.log('开始抽奖')
|
console.log('开始抽奖')
|
||||||
|
|
Loading…
Reference in New Issue