refactor(消息通知): 消息通知去掉html
This commit is contained in:
parent
a63526ab2e
commit
a80068c189
|
@ -76,9 +76,6 @@ public class TestPlanMessageService {
|
||||||
}
|
}
|
||||||
paramMap.putAll(new BeanMap(testPlanDTOWithMetric));
|
paramMap.putAll(new BeanMap(testPlanDTOWithMetric));
|
||||||
|
|
||||||
String successfulMailTemplate = "TestPlanSuccessfulNotification";
|
|
||||||
String errfoMailTemplate = "TestPlanFailedNotification";
|
|
||||||
|
|
||||||
String testPlanShareUrl = shareInfoService.getTestPlanShareUrl(testPlanReport.getId(), creator);
|
String testPlanShareUrl = shareInfoService.getTestPlanShareUrl(testPlanReport.getId(), creator);
|
||||||
paramMap.put("planShareUrl", baseSystemConfigDTO.getUrl() + "/sharePlanReport" + testPlanShareUrl);
|
paramMap.put("planShareUrl", baseSystemConfigDTO.getUrl() + "/sharePlanReport" + testPlanShareUrl);
|
||||||
|
|
||||||
|
@ -102,10 +99,7 @@ public class TestPlanMessageService {
|
||||||
.operator(creator)
|
.operator(creator)
|
||||||
.context(context)
|
.context(context)
|
||||||
.successContext(successContext)
|
.successContext(successContext)
|
||||||
.successMailTemplate(successfulMailTemplate)
|
|
||||||
.failedContext(failedContext)
|
.failedContext(failedContext)
|
||||||
.failedMailTemplate(errfoMailTemplate)
|
|
||||||
.mailTemplate("track/TestPlanComplete")
|
|
||||||
.testId(testPlan.getId())
|
.testId(testPlan.getId())
|
||||||
.status(status)
|
.status(status)
|
||||||
.event(event)
|
.event(event)
|
||||||
|
|
Loading…
Reference in New Issue