From af89df103bbe07f6c57d963991d8f5895514ad6d Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 12 Feb 2023 14:35:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAlist.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAlist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SrcJyAlist.js b/SrcJyAlist.js index 1a3552b4..a7f00904 100644 --- a/SrcJyAlist.js +++ b/SrcJyAlist.js @@ -17,9 +17,10 @@ if (AlistData != "") { } function gethtml(api,path,password) { try{ + log(api); path = path || ""; password = password || ""; - let html = fetch(api, {body: `{"path":`+path+`,"password":`+password+`}`,method:'POST'}); + let html = fetch(api, {body: `{"path":"","password":""}`,method:'POST'}); log(html); return html; }catch(e){