更新 'SrcJuSet.js'

Ju
src48597962 2 years ago
parent 3b7e2f9f5f
commit 5af357f656
  1. 10
      SrcJuSet.js

@ -66,7 +66,7 @@ function SRCSet() {
showLoading("正在导入,请稍后..."); showLoading("正在导入,请稍后...");
let parseurl = aesDecode('SrcJu', input.split('¥')[1]); let parseurl = aesDecode('SrcJu', input.split('¥')[1]);
let content = parsePaste(parseurl); let content = parsePaste(parseurl);
log(content) //log(content)
let datalist2 = JSON.parse(aesDecode('SrcJu', content)); let datalist2 = JSON.parse(aesDecode('SrcJu', content));
let sourcedata = fetch(sourcefile); let sourcedata = fetch(sourcefile);
if (sourcedata != "") { if (sourcedata != "") {
@ -99,7 +99,7 @@ function SRCSet() {
return "toast://非法口令"; return "toast://非法口令";
} }
} catch (e) { } catch (e) {
log(e.message); log('√口令解析失败>'+e.message);
return "toast://口令有误"; return "toast://口令有误";
} }
}, sourcefile, Juconfig['ImportType']), }, sourcefile, Juconfig['ImportType']),
@ -332,7 +332,7 @@ function jiekouapi(sourcefile, data) {
source.public = public; source.public = public;
} }
}catch(e){ }catch(e){
log(e.message); log('√源接口异常>'+e.message);
return "toast://搜索源接口有异常,看日志" return "toast://搜索源接口有异常,看日志"
} }
if(source){ if(source){
@ -383,7 +383,7 @@ function jiekouapi(sourcefile, data) {
try{ try{
eval("let yparse = " + parse); eval("let yparse = " + parse);
}catch(e){ }catch(e){
log(e.message); log('√一级主页源代码异常>'+e.message);
return "toast://一级主页源有错误,看日志" return "toast://一级主页源有错误,看日志"
} }
newapi['parse'] = parse; newapi['parse'] = parse;
@ -392,7 +392,7 @@ function jiekouapi(sourcefile, data) {
try{ try{
eval("let eparse = " + erparse); eval("let eparse = " + erparse);
}catch(e){ }catch(e){
log(e.message); log('√二级主页源代码异常>'+e.message);
return "toast://二级搜索源有错误,看日志" return "toast://二级搜索源有错误,看日志"
} }
newapi['erparse'] = erparse; newapi['erparse'] = erparse;

Loading…
Cancel
Save