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