mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
邮件标题修改
This commit is contained in:
@@ -474,7 +474,7 @@ public class CourseManageApi extends ApiBaseController{
|
|||||||
String email=dto.getAuditUser().getEmail();
|
String email=dto.getAuditUser().getEmail();
|
||||||
if(!isLocalDevelopment()) {
|
if(!isLocalDevelopment()) {
|
||||||
//只是非开发模式下才可以发送
|
//只是非开发模式下才可以发送
|
||||||
service.sendMail(email,"课程审核提醒", htmlEmail,"数字化学习平台");
|
service.sendMail(email,"《"+dto.getCourse().getName()+"》课程审核提醒", htmlEmail,"数字化学习平台");
|
||||||
}else {
|
}else {
|
||||||
//service.sendMail("daihaixing@bjxask.com","课程审核提醒", htmlEmail,"数字化学习平台");
|
//service.sendMail("daihaixing@bjxask.com","课程审核提醒", htmlEmail,"数字化学习平台");
|
||||||
}
|
}
|
||||||
@@ -579,7 +579,7 @@ public class CourseManageApi extends ApiBaseController{
|
|||||||
//邮件发送
|
//邮件发送
|
||||||
if(!isLocalDevelopment()) {
|
if(!isLocalDevelopment()) {
|
||||||
//只是非高度环境上才会发送
|
//只是非高度环境上才会发送
|
||||||
service.sendMail(email,"课程审核提醒",htmlEmail,"数字化学习平台");
|
service.sendMail(email,"《"+course.getName()+"》课程审核提醒",htmlEmail,"数字化学习平台");
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user