refactor: 测试计划报告加上分享链接

This commit is contained in:
chenjianxing 2021-09-18 11:49:38 +08:00 committed by jianxing
parent 84db2cd1d3
commit 33cd145d14
1 changed files with 3 additions and 0 deletions

View File

@ -833,6 +833,9 @@ public class TestPlanReportService {
errfoMailTemplate = "TestPlanFailedNotification"; errfoMailTemplate = "TestPlanFailedNotification";
} }
String testPlanShareUrl = shareInfoService.getTestPlanShareUrl(testPlanReport.getId());
paramMap.put("planShareUrl", baseSystemConfigDTO.getUrl() + "/sharePlanReport" + testPlanShareUrl);
NoticeModel noticeModel = NoticeModel.builder() NoticeModel noticeModel = NoticeModel.builder()
.operator(testPlanReport.getCreator()) .operator(testPlanReport.getCreator())
.successContext(successContext) .successContext(successContext)