From e83176a3ea801fe099b7560459b9958afc80292a Mon Sep 17 00:00:00 2001 From: test Date: Tue, 9 Sep 2025 22:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E8=BF=AB=E7=97=87=E7=8A=AF=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fetchURLByAndroidV2.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fetchURLByAndroidV2.js b/fetchURLByAndroidV2.js index 70a1fc7..fed174e 100644 --- a/fetchURLByAndroidV2.js +++ b/fetchURLByAndroidV2.js @@ -9,8 +9,7 @@ async function fetchURLByAndroid() { const userId = process.env.USERID const token = process.env.MIGU_TOKEN - const date = new Date() - const start = date.getTime() + const start = Date.now() // aptv 必须绝对路径 const path = process.cwd() + '/interface.txt' @@ -26,7 +25,6 @@ async function fetchURLByAndroid() { `\n` + `\n`) - // 0点 if (!date.getHours()) { // 0点刷新token await refreshToken(userId, token) ? console.log("token刷新成功") : console.log("token刷新失败")