720小时刷新
This commit is contained in:
@@ -28,8 +28,8 @@ async function updateTV(hours) {
|
|||||||
// txt
|
// txt
|
||||||
writeFile(interfaceTXTPath, "")
|
writeFile(interfaceTXTPath, "")
|
||||||
|
|
||||||
if (!(hours % 24)) {
|
if (!(hours % 720)) {
|
||||||
// 每24小时刷新token
|
// 每720小时(一个月)刷新token
|
||||||
if (userId != "" && token != "") {
|
if (userId != "" && token != "") {
|
||||||
// if (mrefreshToken) {
|
// if (mrefreshToken) {
|
||||||
await refreshToken(userId, token) ? printGreen("token刷新成功") : printRed("token刷新失败")
|
await refreshToken(userId, token) ? printGreen("token刷新成功") : printRed("token刷新失败")
|
||||||
|
|||||||
Reference in New Issue
Block a user