更新 'SrcJyPublic.js'

master
src48597962 9 months ago
parent c5619abb1e
commit cea262bd00
  1. 6
      SrcJyPublic.js

@ -11,9 +11,13 @@ if(Jucfg != ""){
let jkfile = "hiker://files/rules/Src/Juying2/jiekou.json"; let jkfile = "hiker://files/rules/Src/Juying2/jiekou.json";
let jxfile = "hiker://files/rules/Src/Juying2/jiexi.json"; let jxfile = "hiker://files/rules/Src/Juying2/jiexi.json";
function getFile(lx) {
let file = lx=='jk'?jkfile:jxfile;
return file;
}
function getDatas(lx) { function getDatas(lx) {
let datalist = []; let datalist = [];
let sourcefile = lx=='jk'?jkfile:jxfile; let sourcefile = getFile(lx);
let sourcedata = fetch(sourcefile); let sourcedata = fetch(sourcefile);
if(sourcedata != ""){ if(sourcedata != ""){
try{ try{

Loading…
Cancel
Save