From f91f661a4d187e2a0894817a119fabd23db2c5d3 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 27 Jan 2024 22:33:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAliDisk.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAliDisk.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SrcJyAliDisk.js b/SrcJyAliDisk.js index 34d68008..55aef38f 100644 --- a/SrcJyAliDisk.js +++ b/SrcJyAliDisk.js @@ -591,7 +591,10 @@ function aliMyDisk(folder_id, isSearch, drive_id) { { title: '分享', url: $().lazyRule((drive_id, folder_id, headers) => { - log($.dateFormat(new Date(), "yyyy-MM-ddTHH:mm:ss.SZ")); + let currentDate = new Date(); + let date = new Date(currentDate.getTime() + 7 * 24 * 60 * 60 * 1000); + + log(date.toISOString()); return; let postdata = {"drive_id":drive_id,"file_id_list":[folder_id],"share_pwd":"","expiration":"2024-02-26T14:11:03.477Z","sync_to_homepage":false}; let posturl = "https://api.aliyundrive.com/adrive/v3/file/list";