This commit is contained in:
lxk0301
2021-01-30 21:20:51 +08:00
parent c40682eb4a
commit 2c68c26bc1
3 changed files with 10 additions and 10 deletions

View File

@@ -1374,8 +1374,6 @@ function shareCodesFormat() {
function requireConfig() {
return new Promise(async resolve => {
await updateTuanIdsCDN('https://gitee.com/lxk0301/updateTeam/raw/master/jd_updateFactoryTuanId.json');
if (!$.tuanIdS) await updateTuanIds();
if (!$.tuanIdS) await updateTuanIdsCDN('https://cdn.jsdelivr.net/gh/LXK9301/updateTeam@master/jd_updateFactoryTuanId.json');
if ($.tuanIdS && $.tuanIdS.tuanActiveId) {
tuanActiveId = $.tuanIdS.tuanActiveId;
}