更新 'SrcJyAlist.js'

master
src48597962 2 years ago
parent e15d2be368
commit 3ae0f10c8e
  1. 4
      SrcJyAlist.js

@ -225,7 +225,7 @@ function alistUrl(api,path,pwd,sign) {
function alistSearch(api,key) {
deleteItemByCls('alist');
try{
try{//content-type: application/json;charset=UTF-8
let json = JSON.parse(fetch(api + "/api/fs/search", {body:{"per_page":100,"page":1,"parent":"/","keywords":key},method:'POST',timeout:10000}));
log(json);
if(json.code==200){
@ -236,6 +236,6 @@ function alistSearch(api,key) {
addItemBefore('homeloading', arrayAdd(filelist,0,alistapi));
}
}catch(e){
log(e.message);
}
}
Loading…
Cancel
Save