fix: 修复复制测试计划无消息通知的问题

--bug=1009012 --user=刘瑞斌 【消息中心】复制测试计划后无创建的消息通知 https://www.tapd.cn/55049933/s/1083617
This commit is contained in:
CaptainB 2021-12-20 17:32:58 +08:00 committed by 刘瑞斌
parent 8b69b04feb
commit 16dd3fe837
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ public class TestPlanController {
}
@PostMapping("/copy/{id}")
@SendNotice(taskType = NoticeConstants.TaskType.TEST_PLAN_TASK, event = NoticeConstants.Event.CREATE, mailTemplate = "track/TestPlanStart", subject = "测试计划通知")
public TestPlan copy(@PathVariable String id) {
return testPlanService.copy(id);
}