From bec23d17b9ed02c32e5f8e015bf82ee7b8785f07 Mon Sep 17 00:00:00 2001 From: star Date: Mon, 31 May 2021 20:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=BD=E5=A5=96=E9=97=B4?= =?UTF-8?q?=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_party_night.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jd_party_night.js b/jd_party_night.js index 4dc437db..3c0f687f 100644 --- a/jd_party_night.js +++ b/jd_party_night.js @@ -50,7 +50,11 @@ if ($.isNode()) { $.UserName = decodeURIComponent($.cookie.match(/pt_pin=([^; ]+)(?=;?)/) && $.cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1]); console.log(`\n*****开始【京东账号${$.index}】${$.nickName || $.UserName}*****\n`); await partyNight(); - await $.wait(1500); + if(cookiesArr.length>5){ + await $.wait(1500); + }else{ + await $.wait(5000); + } } }