This commit is contained in:
lxk0301
2021-03-19 12:59:30 +08:00
parent 8be290fe06
commit de6aeb29b3
2 changed files with 7 additions and 6 deletions

View File

@@ -59,7 +59,7 @@
# 京豆变动通知 # 京豆变动通知
20 10 * * * node /scripts/jd_bean_change.js >> /scripts/logs/jd_bean_change.log 2>&1 20 10 * * * node /scripts/jd_bean_change.js >> /scripts/logs/jd_bean_change.log 2>&1
# 京东抽奖机 # 京东抽奖机
31 0 * * * node /scripts/jd_lotteryMachine.js >> /scripts/logs/jd_lotteryMachine.log 2>&1 31 0,12,23 * * * node /scripts/jd_lotteryMachine.js >> /scripts/logs/jd_lotteryMachine.log 2>&1
# 京东排行榜 # 京东排行榜
21 9 * * * node /scripts/jd_rankingList.js >> /scripts/logs/jd_rankingList.log 2>&1 21 9 * * * node /scripts/jd_rankingList.js >> /scripts/logs/jd_rankingList.log 2>&1
# 天天提鹅 # 天天提鹅

View File

@@ -271,12 +271,13 @@ function taskList() {
await strollShop(task2.shopId); await strollShop(task2.shopId);
await taskCoin(task2.type); await taskCoin(task2.type);
} }
// if (task6.finishNum < task6.totalNum) { if (task5.finishNum < task5.totalNum) {
// await strollMember(task6.venderId); console.log(`\n\n分享好友助力 ${task5.finishNum}/${task5.totalNum}\n\n`)
// await taskCoin(task6.type); } else {
// } console.log(`\n\n分享好友助力 ${task5.finishNum}/${task5.totalNum}\n\n`)
}
if (task4.state === 2 && task1.state === 2 && task2.state === 2) { if (task4.state === 2 && task1.state === 2 && task2.state === 2) {
console.log('taskList的任务全部做完了---') console.log('\n\n----taskList的任务全部做完了---\n\n')
} else { } else {
await taskList(); await taskList();
} }