From c6fce6d4442ff3c55e06187f54fdb515af2011d2 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Thu, 8 Apr 2021 14:13:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_dreamFactory.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jd_dreamFactory.js b/jd_dreamFactory.js index 72dfc774..1891fcb3 100644 --- a/jd_dreamFactory.js +++ b/jd_dreamFactory.js @@ -107,7 +107,7 @@ if ($.isNode()) { if ($.canHelp) await joinLeaderTuan();//参团 $.UserName = decodeURIComponent(cookie.match(/pt_pin=([^; ]+)(?=;?)/) && cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1]) if ((cookiesArr && cookiesArr.length >= ($.tuanNum || 5)) && $.canHelp) { - console.log(`\n账号内部相互进团\n`); + console.log(`\n账号${$.UserName} 内部相互进团\n`); for (let item of $.tuanIds) { console.log(`\n${$.UserName} 去参加团 ${item}`); if (!$.canHelp) break; @@ -970,11 +970,12 @@ async function joinLeaderTuan() { if (!res) res = await updateTuanIdsCDN('https://cdn.jsdelivr.net/gh/gitupdate/updateTeam@master/shareCodes/jd_updateFactoryTuanId.json'); $.authorTuanIds = [...(res && res.tuanIds || []),...(res2 && res2.tuanIds || [])] if ($.authorTuanIds && $.authorTuanIds.length) { - console.log(`\n参加作者的团`); for (let tuanId of $.authorTuanIds) { if (!tuanId) continue if (!$.canHelp) break; + console.log(`\n账号${$.UserName} 参加作者lxk0301的团 【${tuanId}】`); await JoinTuan(tuanId); + await $.wait(1000); } } }