| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import java.util.*; |
| | |
| | | //外呼短信通知任务创建并返回 |
| | | return callSmsNoticeTaskService.createCallSmsNoticeTask(taskId); |
| | | } |
| | | |
| | | /** |
| | | * 创建告警外呼任务 |
| | | * @param map |
| | | * @return |
| | | */ |
| | | @Override |
| | | @PostMapping(CREATE_OUT_CALL_TASK_BY_ALARM) |
| | | public List<String> createOutCallTaskByAlarm(@RequestBody Map<String, Object> map) { |
| | | //创建告警外呼任务并返回 |
| | | return callService.createOutCallTaskByAlarm(map); |
| | | } |
| | | } |