From 113bddd50e7462a0fea457f80fa4e97b789e0ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A0=87=E5=93=A5=E4=B8=B6?= Date: Mon, 21 Mar 2022 12:37:50 +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_opencardL98.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jd_opencardL98.js b/jd_opencardL98.js index b979c8e..d03ad70 100644 --- a/jd_opencardL98.js +++ b/jd_opencardL98.js @@ -139,15 +139,15 @@ async function run() { flag = true $.joinVenderId = o.venderId await joinShop() - if($.joinShopresmessage === '活动太火爆,请稍后再试'){ + if($.errorJoinShop === '活动太火爆,请稍后再试'){ console.log('重新开卡') await joinShop() } - await $.wait(parseInt(Math.random() * 2000 + 2000, 10)) + await $.wait(parseInt(Math.random() * 2000 + 1000, 10)) await takePostRequest('activityContent'); await takePostRequest('drawContent'); await takePostRequest('checkOpenCard'); - await $.wait(parseInt(Math.random() * 3000 + 2000, 10)) + await $.wait(parseInt(Math.random() * 3000 + 1000, 10)) } } }else{ @@ -199,8 +199,8 @@ async function run() { } await $.wait(parseInt(Math.random() * 1000 + 5000, 10)) if(flag) await $.wait(parseInt(Math.random() * 1000 + 10000, 10)) - if($.index % 3 == 0) console.log('休息1分钟,别被黑ip了\n可持续发展') - if($.index % 3 == 0) await $.wait(parseInt(Math.random() * 5000 + 30000, 10)) + if($.index % 5 == 0) console.log('休息1分钟,别被黑ip了\n可持续发展') + if($.index % 5 == 0) await $.wait(parseInt(Math.random() * 5000 + 20000, 10)) } catch (e) { console.log(e) }