修改邮件模板ID

This commit is contained in:
2025-02-19 14:23:43 +08:00
parent fbe9dc87e9
commit 4e2222966f

View File

@@ -1036,6 +1036,7 @@ public class SendEmailUtil {
}
}
private final static Long COMMON_EXCEPTION_REMINDER = 135279L;
public static void commonExceptionReminder(String functionName, String[] destination) {
try {
// 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey此处还需注意密钥对的保密
@@ -1056,7 +1057,7 @@ public class SendEmailUtil {
req.setDestination(destination);
Template template = new Template();
req.setSubject("AiDA发生异常请及时处理");
template.setTemplateID(UPLOAD_TIMEOUT_REMINDER);
template.setTemplateID(COMMON_EXCEPTION_REMINDER);
JSONObject param = new JSONObject();
param.put("function", functionName);