|
|
@ -532,7 +532,6 @@ function readDir(path) { |
|
|
|
// 清理接口残留过期文件
|
|
|
|
// 清理接口残留过期文件
|
|
|
|
function clearJkFiles() { |
|
|
|
function clearJkFiles() { |
|
|
|
let names = readDir(jkfilespath); |
|
|
|
let names = readDir(jkfilespath); |
|
|
|
log(names); |
|
|
|
|
|
|
|
let datalist = getDatas("jk"); |
|
|
|
let datalist = getDatas("jk"); |
|
|
|
names.forEach(it=>{ |
|
|
|
names.forEach(it=>{ |
|
|
|
if(!datalist.some(item => item.url==jkfilespath+it)){ |
|
|
|
if(!datalist.some(item => item.url==jkfilespath+it)){ |
|
|
@ -540,7 +539,6 @@ function clearJkFiles() { |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
clearJkFiles(); |
|
|
|
|
|
|
|
// 获取接口对应的显示标题
|
|
|
|
// 获取接口对应的显示标题
|
|
|
|
function getDataTitle(data) { |
|
|
|
function getDataTitle(data) { |
|
|
|
if($.type(data.type)=="string"){ |
|
|
|
if($.type(data.type)=="string"){ |
|
|
|