fix(消息通知): 分享链接加上模块路径

--bug=1018535 --user=刘瑞斌 [消息通知]定时任务执行测试计划-收到的通知报告链接打开是404 https://www.tapd.cn/55049933/s/1269365
This commit is contained in:
CaptainB 2022-10-20 13:29:54 +08:00 committed by 刘瑞斌
parent edcdcf9966
commit 50af3dd418
1 changed files with 2 additions and 1 deletions

View File

@ -166,7 +166,8 @@ public class TestPlanMessageService {
paramMap.putAll(new BeanMap(testPlanDTOWithMetric)); paramMap.putAll(new BeanMap(testPlanDTOWithMetric));
String testPlanShareUrl = getTestPlanShareUrl(testPlanReport.getId(), creator); String testPlanShareUrl = getTestPlanShareUrl(testPlanReport.getId(), creator);
paramMap.put("planShareUrl", baseSystemConfigDTO.getUrl() + "/share-plan-report" + testPlanShareUrl); // 分享经过网关需要带上前缀
paramMap.put("planShareUrl", baseSystemConfigDTO.getUrl() + "/track/share-plan-report" + testPlanShareUrl);
/** /**
* 测试计划的消息通知配置包括 完成成功失败 * 测试计划的消息通知配置包括 完成成功失败