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) => {