refactor(消息通知): 消息通知去掉html

This commit is contained in:
CaptainB 2022-04-28 17:31:59 +08:00 committed by halo-ci-bot[bot]
parent a63526ab2e
commit a80068c189
1 changed files with 0 additions and 6 deletions

View File

@ -76,9 +76,6 @@ public class TestPlanMessageService {
}
paramMap.putAll(new BeanMap(testPlanDTOWithMetric));
String successfulMailTemplate = "TestPlanSuccessfulNotification";
String errfoMailTemplate = "TestPlanFailedNotification";
String testPlanShareUrl = shareInfoService.getTestPlanShareUrl(testPlanReport.getId(), creator);
paramMap.put("planShareUrl", baseSystemConfigDTO.getUrl() + "/sharePlanReport" + testPlanShareUrl);
@ -102,10 +99,7 @@ public class TestPlanMessageService {
.operator(creator)
.context(context)
.successContext(successContext)
.successMailTemplate(successfulMailTemplate)
.failedContext(failedContext)
.failedMailTemplate(errfoMailTemplate)
.mailTemplate("track/TestPlanComplete")
.testId(testPlan.getId())
.status(status)
.event(event)