| | |
| | | package cn.gistack.alerts.notice.feign; |
| | | |
| | | import cn.gistack.alerts.notice.strategy.NoticeStrategyContext; |
| | | import feign.Request; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | */ |
| | | @GetMapping(CREATE_ALARM_NOTICE_TASK_JOB_HANDLER) |
| | | @Override |
| | | public String createAlarmNoticeTaskJobHandler(String name, String content, String type) { |
| | | return applicationContext.doSomethingByStrategy(name, content, type); |
| | | public void createAlarmNoticeTaskJobHandler(String name, String content, String type) { |
| | | applicationContext.doSomethingByStrategy(name, content, type); |
| | | } |
| | | } |