邮件标题修改

This commit is contained in:
daihh
2022-11-08 16:00:58 +08:00
parent bdde131527
commit 4231780f5d

View File

@@ -474,7 +474,7 @@ public class CourseManageApi extends ApiBaseController{
String email=dto.getAuditUser().getEmail();
if(!isLocalDevelopment()) {
//只是非开发模式下才可以发送
service.sendMail(email,"课程审核提醒", htmlEmail,"数字化学习平台");
service.sendMail(email,""+dto.getCourse().getName()+"课程审核提醒", htmlEmail,"数字化学习平台");
}else {
//service.sendMail("daihaixing@bjxask.com","课程审核提醒", htmlEmail,"数字化学习平台");
}
@@ -579,7 +579,7 @@ public class CourseManageApi extends ApiBaseController{
//邮件发送
if(!isLocalDevelopment()) {
//只是非高度环境上才会发送
service.sendMail(email,"课程审核提醒",htmlEmail,"数字化学习平台");
service.sendMail(email,""+course.getName()+"课程审核提醒",htmlEmail,"数字化学习平台");
}
} catch (Exception ex) {