From a80068c1892c49f318680f95ae91b1ffebafa7ac Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 28 Apr 2022 17:31:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5):?= =?UTF-8?q?=20=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5=E5=8E=BB=E6=8E=89html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../metersphere/track/service/TestPlanMessageService.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanMessageService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanMessageService.java index dc2d6f36dd..8750c2d20d 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanMessageService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanMessageService.java @@ -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)