From c3c71db1fa86531fead693e48d5b67644c8ca4df Mon Sep 17 00:00:00 2001 From: any Date: Sat, 12 Dec 2020 00:17:20 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_dreamFactory.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/jd_dreamFactory.js b/jd_dreamFactory.js index f4316824..9cfbe01b 100644 --- a/jd_dreamFactory.js +++ b/jd_dreamFactory.js @@ -11,14 +11,14 @@ [task_local] #京喜工厂 10 * * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_dreamFactory.js, tag=京喜工厂, enabled=true - + ================Loon============== [Script] cron "10 * * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_dreamFactory.js,tag=京喜工厂 - + ===============Surge================= 京喜工厂 = type=cron,cronexp="10 * * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_dreamFactory.js - + ============小火箭========= 京喜工厂 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_dreamFactory.js, cronexpr="10 * * * *", timeout=200, enable=true @@ -1020,6 +1020,11 @@ async function joinLeaderTuan() { if (!tuanId) continue await JoinTuan(tuanId); } + if (!$.tuanIdS) await updateTuanIdsCDN('https://gitee.com/shylocks/updateTeam/raw/main/jd_updateFactoryTuanId.json'); + for (let tuanId of $.tuanIdS.tuanIds) { + if (!tuanId) continue + await JoinTuan(tuanId); + } } function JoinTuan(tuanId) { return new Promise((resolve) => {