| | |
| | | package cn.gistack.nky.fegin; |
| | | |
| | | import cn.gistack.nky.entity.AlarmGet; |
| | | import cn.gistack.nky.vo.AlarmGetVO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | 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.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | @FeignClient( |
| | | value = "blade-nky", |
| | |
| | | String GET_BATCH_DATA = API_PREFIX + "getBatchData"; |
| | | //异常查询 |
| | | String ALARM_GET_DATA = API_PREFIX + "alarmGetData"; |
| | | |
| | | //预警详情 |
| | | String GET_ALARM_DETAIL = API_PREFIX + "getAlarmDetail"; |
| | | |
| | | |
| | | /** |
| | | * 获取arima预测结果 |
| | |
| | | |
| | | @GetMapping(ALARM_GET_DATA) |
| | | void alarmGetData(@RequestParam("type") String type); |
| | | |
| | | @PostMapping(GET_ALARM_DETAIL) |
| | | List<AlarmGetVO> getAlarmDetail(@RequestBody AlarmGetVO alarmGet); |
| | | } |