refactor: 发送通知查询关注人

This commit is contained in:
CaptainB 2021-10-25 11:22:30 +08:00 committed by 刘瑞斌
parent 30b1dd6fb1
commit eca3180c55
1 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.RegExUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.time.DateFormatUtils;
import org.springframework.context.annotation.Lazy;
import javax.annotation.Resource;
import java.io.IOException;
@ -38,18 +39,25 @@ public abstract class AbstractNoticeSender implements NoticeSender {
@Resource
private UserService userService;
@Resource
@Lazy
private PerformanceTestService performanceTestService;
@Resource
@Lazy
private ApiAutomationService apiAutomationService;
@Resource
@Lazy
private ApiDefinitionService apiDefinitionService;
@Resource
@Lazy
private ApiTestCaseService apiTestCaseService;
@Resource
@Lazy
private TestCaseService testCaseService;
@Resource
@Lazy
private TestPlanService testPlanService;
@Resource
@Lazy
private TestCaseReviewService testCaseReviewService;
protected String getContext(MessageDetail messageDetail, NoticeModel noticeModel) {