From 10006cdad2b306f010fd833d8c77aaf20aef8f57 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 10 Dec 2023 14:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAliPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAliPublic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index 15811207..36d75fa0 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -73,9 +73,9 @@ let headers = { "referer": "https://www.aliyundrive.com/", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.41" }; +let nowtime = Date.now(); let userinfo = {}; if (alitoken) { - let nowtime = Date.now(); let oldtime = parseInt(getMyVar('userinfoChecktime', '0').replace('time', '')); let aliuserinfo = storage0.getMyVar('aliuserinfo'); if (aliuserinfo && aliuserinfo.user_id && nowtime < (oldtime + 2 * 60 * 60 * 1000)) {