This commit is contained in:
xiaojunnuo
2024-12-27 22:40:07 +08:00
parent 8644348fc4
commit 67af67b92d
3 changed files with 11 additions and 1 deletions

View File

@@ -321,7 +321,7 @@ cert.jksjks格式证书文件java服务器使用
// 检查有效期
const leftDays = dayjs(expires).diff(dayjs(), "day");
return {
isWillExpire: leftDays < maxDays,
isWillExpire: leftDays <= maxDays,
leftDays,
};
}