|
@@ -128,7 +128,7 @@ public class MailSendService {
|
|
|
map.put("title", "任务通知");
|
|
|
map.put("template", "mail/eTask.html");
|
|
|
map.put("value1", handlePerson);
|
|
|
- map.put("img", "\\src\\main\\resources\\mail\\logo.png");
|
|
|
+ map.put("img", "/logo.png");
|
|
|
map.put("email", email);
|
|
|
map.put("value2", addPerson);
|
|
|
map.put("value3", taskName);
|
|
@@ -151,7 +151,7 @@ public class MailSendService {
|
|
|
map.put("title", "任务通知");
|
|
|
map.put("template", "mail/eTaskDone.html");
|
|
|
map.put("value1", personnel.getPersonnelName());
|
|
|
- map.put("img", "\\src\\main\\resources\\mail\\logo.png");
|
|
|
+ map.put("img", "/logo.png");
|
|
|
map.put("email", personnel.getPersonnelEmail());
|
|
|
map.put("value2", taskTypeName);
|
|
|
map.put("value3", taskName);
|
|
@@ -178,7 +178,7 @@ public class MailSendService {
|
|
|
map.put("title", "监控通知");
|
|
|
map.put("template", "mail/cycleTaskDone.html");
|
|
|
map.put("value1", personnel.getPersonnelName());
|
|
|
- map.put("img", "\\src\\main\\resources\\mail\\logo.png");
|
|
|
+ map.put("img", "/logo.png");
|
|
|
map.put("email", personnel.getPersonnelEmail());
|
|
|
map.put("value2", project.getName());
|
|
|
String dateRange = "";
|
|
@@ -213,7 +213,7 @@ public class MailSendService {
|
|
|
Map<String, Object> map = new LinkedHashMap<>();
|
|
|
map.put("title", "监控通知");
|
|
|
map.put("template", "mail/sysCycleStart.html");
|
|
|
- map.put("img", "\\src\\main\\resources\\mail\\logo.png");
|
|
|
+ map.put("img", "/logo.png");
|
|
|
if (systemDictList != null && systemDictList.size() > 0) {
|
|
|
SystemDict systemDict = systemDictList.remove(0);
|
|
|
map.put("email", systemDict.getValue());
|