update 团

This commit is contained in:
any
2020-12-12 00:17:20 +08:00
parent 9d79c5b34e
commit c3c71db1fa

View File

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