From a8abf37b386b915915127214ce6a3b52e4ad1de7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 14 Jul 2021 22:20:50 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=8E=2007-14=2022:20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_test.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jd_test.js b/jd_test.js index d69df58..efd299a 100755 --- a/jd_test.js +++ b/jd_test.js @@ -77,7 +77,7 @@ const UA = $.isNode() ? (process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : $.hotFlag = false; //是否火爆 console.log(`\n*****开始【京东账号${$.index}】${$.nickName || $.UserName}*****\n`); console.log(`\n如有未完成的任务,请多执行几次\n`); - //await movement() + await movement() if($.hotFlag)$.secretpInfo[$.UserName] = false;//火爆账号不执行助力 } } @@ -385,8 +385,7 @@ const canRequest = (url) => { ].includes(host) && !/\.jd\.com$/.test(host) && !/\.jingxi\.com/.test(host) && - !/\.isvjcloud\.com/.test(host) && - !/\.fastmock\.site/.test(host) + !/\.isvjcloud\.com/.test(host) ) { console.log(host, url) throw new Error(`该请求 url 不合法: ${url}`) @@ -836,4 +835,4 @@ function Env(t, e) { (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } })(t, e) -} \ No newline at end of file +}