This commit is contained in:
shahaibo
2024-03-27 13:28:48 +08:00
parent db68ce7d1b
commit 54fe254ab0
5 changed files with 41 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ public class MyTaskScheduler {
Long currentTimestamp = System.currentTimeMillis();
// 计算时间差(毫秒)
long timeDifference = currentTimestamp - timestamp;
long timeDifference = timestamp - currentTimestamp;
if (timeDifference < 0) {
continue;

View File

@@ -293,7 +293,7 @@ public class SendEmailUtil {
// 根据邮件类型设置不同的主题和模板
String subject = "";
Template template = new Template();
subject = "Upcoming AiDA 3.0 Launch and Scheduled Maintenance";
subject = "Notice: AiDA 3.0 Website Maintenance Downtime";
template.setTemplateID(UPGRADE_NOTIFICATION_ID);
template.setTemplateData(buildAccountData(account));