From 22e35823f055c0b0f5e780e95d79c02d72493d71 Mon Sep 17 00:00:00 2001 From: star Date: Mon, 31 May 2021 20:19:26 +0800 Subject: [PATCH] update --- jd_party_night.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jd_party_night.js b/jd_party_night.js index 8512b637..b00cf6ca 100644 --- a/jd_party_night.js +++ b/jd_party_night.js @@ -88,9 +88,10 @@ async function partyNight(){ // }else { // console.log('获取活动信息成功'); // } - console.log('开始抽奖'); + $.runFlag = true; for (let i = 0; i < 10 && $.runFlag; i++) { + console.log(`开始第${i+1}次抽奖`); await takePostRequest('partyTonight_lottery'); await $.wait(2000); }