From bc170c4ad835302e7054b3d14470a4c3f03c8c93 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 13 Oct 2024 22:07:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJySet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJySet.js | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/SrcJySet.js b/SrcJySet.js index 6b82ef2f..90befa03 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -2025,34 +2025,16 @@ function manageSet(){ col_type: "text_2" }); + */ d.push({ - title: '超时时长', - url: $(Juconfig['xunmitimeout']?Juconfig['xunmitimeout']:"5","设置接口搜索超时时长(秒)").input((Juconfig,cfgfile) => { - if(!parseInt(input)||parseInt(input)<1||parseInt(input)>10){return 'toast://输入有误,请输入1-10数字'}else{ - Juconfig['xunmitimeout'] = parseInt(input); - writeFile(cfgfile, JSON.stringify(Juconfig)); - refreshPage(false); - return 'toast://接口搜索超时时长已设置为:'+input+'秒'; - } - }, Juconfig, cfgfile), - col_type: "text_3" - }); - d.push({ - title: '失败次数', - url: $(Juconfig['failnum']?Juconfig['failnum']:"10","搜索无法访问的接口达到多少失败次数,转移到失败待处理分组").input((Juconfig,cfgfile) => { - if(!parseInt(input)||parseInt(input)<1||parseInt(input)>100){return 'toast://输入有误,请输入1-100数字'}else{ - Juconfig['failnum'] = parseInt(input); - writeFile(cfgfile, JSON.stringify(Juconfig)); - refreshPage(false); - return 'toast://搜索接口无法访问'+input+'次,自动转移到失败待处理分组'; - } - }, Juconfig, cfgfile), - col_type: "text_3" + col_type: "line_blank" }); d.push({ - col_type: "line" + title: '资源码', + img: getIcon("管理-依赖.svg"), + col_type: 'avatar', + url: 'hiker://empty' }); - */ d.push({ col_type: "line_blank" @@ -2834,12 +2816,6 @@ function JYimport(input) { return "toast://聚影:口令有误>"+e.message; } try{ - if (inputname == "聚影云盘") { - let content = parsePaste(pasteurl); - let datalist2 = JSON.parse(base64Decode(content)); - let num = yundisksave(datalist2); - return "toast://合计" + datalist2.length + "个,导入" + num + "个"; - } if(inputname=="聚影接口"){ var sm = "聚影:接口"; }else if(inputname=="聚影解析"){