更新 'SrcJuSet.js'

Ju
src48597962 2 years ago
parent 170ebc3839
commit 34a43dc4de
  1. 28
      SrcJuSet.js

@ -89,26 +89,26 @@ function SRCSet() {
}); });
d.push({ d.push({
title: '操作', title: '操作',
url: $(["接口更新"], 2).select((yxdatalist) => { url: $(["接口更新"], 2).select(() => {
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuPublic.js');
let updatelist = [];
yxdatalist.forEach(it=>{ yxdatalist.forEach(it=>{
let yparse = it.parse; eval("let yparse = " + it.parse);
let eparse = it.erparse; if (yparse && yparse.ext && /^http/.test(yparse.ext) && updatelist.indexOf(yparse.ext)==-1) {
let gparse = it.public; fetchCache(yparse.ext, 0);
let yfile = yparse&&yparse.ext?yparse.ext:""; updatelist.push(yparse.ext);
let efile = eparse&&eparse.ext?eparse.ext:"";
let gfile = gparse&&gparse.ext?gparse.ext:"";
if(yfile){
let ii = fetchCache(yfile, 1, 1);
} }
if(efile && efile!=yfile){ eval("let eparse = " + it.erparse);
let ii = fetchCache(efile, 1, 1); if (eparse && eparse.ext && /^http/.test(eparse.ext) && updatelist.indexOf(eparse.ext)==-1) {
fetchCache(eparse.ext, 0);
} }
if(gfile && gfile!=yfile && gfile!=efile ){ eval("let gparse = " + it.public);
let ii = fetchCache(gfile, 1, 1); if (gparse && gparse.ext && /^http/.test(gparse.ext) && updatelist.indexOf(gparse.ext)==-1) {
fetchCache(gparse.ext, 0);
} }
}) })
return "toast://在线接口更新完成"; return "toast://在线接口更新完成";
}, yxdatalist), }),
img: "https://lanmeiguojiang.com/tubiao/more/25.png", img: "https://lanmeiguojiang.com/tubiao/more/25.png",
col_type: "icon_4" col_type: "icon_4"
}); });

Loading…
Cancel
Save