revert: 接口自动化定时任务和api调用发送通知回退

This commit is contained in:
Captain.B 2021-10-12 16:56:22 +08:00 committed by 刘瑞斌
parent ae4e05a713
commit 5d82f042fe
3 changed files with 1 additions and 3 deletions

View File

@ -238,7 +238,7 @@ public class TestResultService {
paramMap.put("url", baseSystemConfigDTO.getUrl());
paramMap.putAll(new BeanMap(report));
NoticeModel noticeModel = NoticeModel.builder()
.operator(SessionUtils.getUserId())
.operator(report.getUserId())
.successContext(successContext)
.successMailTemplate("ApiSuccessfulNotification")
.failedContext(failedContext)

View File

@ -14,7 +14,6 @@
<p>${name} 接口测试运行失败<br/>
<p>执行人:${operator}</p>
<p>执行环境:${executionEnvironment}</p>
<p>执行时间:${executionTime}</p>
请点击下面链接进入测试报告页面【接口定义暂无报告路径】<br/>
<a href="${url}/#/api/automation/report/view/${id}">${url}/#/api/automation/report/view/${id}</a>

View File

@ -12,7 +12,6 @@
<div style="margin-left: 100px">
<p>${name} 接口测试运行成功<br/>
<p>执行人:${operator}</p>
<p>执行环境:${executionEnvironment}</p>
<p>执行时间:${executionTime}</p>
请点击下面链接进入测试报告页面【接口定义暂无报告路径】<br/>
<a href="${url}/#/api/automation/report/view/${id}">${url}/#/api/automation/report/view/${id}</a>