From 21a96eecc0bb8ecc6f6609c9411e3a97ece58b9e Mon Sep 17 00:00:00 2001 From: KingRan Date: Tue, 1 Mar 2022 13:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_opencardL89.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jd_opencardL89.js b/jd_opencardL89.js index c5b7465..4590ecd 100644 --- a/jd_opencardL89.js +++ b/jd_opencardL89.js @@ -132,6 +132,7 @@ async function run() { if(o.status == 0){ flag = true $.joinVenderId = o.venderId + await $.wait(parseInt(Math.random() * 3000 + 2000, 10)) await joinShop() if($.joinShopresmessage === '活动太火爆,请稍后再试'){ console.log('重新开卡') @@ -207,8 +208,8 @@ async function run() { await $.wait(parseInt(Math.random() * 1000 + 5000, 10)) if(flag) await $.wait(parseInt(Math.random() * 1000 + 10000, 10)) - if($.index % 5 == 0) console.log('休息一下,别被黑ip了\n可持续发展') - if($.index % 5 == 0) await $.wait(parseInt(Math.random() * 5000 + 10000, 10)) + if($.index % 3 == 0) console.log('休息一下,别被黑ip了\n可持续发展') + if($.index % 3 == 0) await $.wait(parseInt(Math.random() * 5000 + 10000, 10)) } catch (e) { console.log(e)