720小时刷新

This commit is contained in:
develop202
2026-02-03 22:32:21 +08:00
parent 6a8409ad3d
commit 2e8cea265a

View File

@@ -28,8 +28,8 @@ async function updateTV(hours) {
// txt
writeFile(interfaceTXTPath, "")
if (!(hours % 24)) {
// 每24小时刷新token
if (!(hours % 720)) {
// 每720小时(一个月)刷新token
if (userId != "" && token != "") {
// if (mrefreshToken) {
await refreshToken(userId, token) ? printGreen("token刷新成功") : printRed("token刷新失败")