| | |
| | | |
| | | @ApiOperation(value = "测试实时告警") |
| | | @PostMapping("getDAlmInf") |
| | | public Response getDAlmInf(@RequestParam int uid, @RequestBody DalmDto dto){ |
| | | return dataService.getDAlmInf(uid,dto); |
| | | public Response getDevAlmInf(@RequestParam int uid, @RequestBody DalmDto dto){ |
| | | return dataService.getDevAlmInf(uid,dto); |
| | | } |
| | | @ApiOperation(value = "弹窗告警") |
| | | @GetMapping("getDAlmPopUp") |
| | | public Response getDAlmPopUp(){ |
| | | public Response getDevAlmPopUp(){ |
| | | UserInf uinf= ActionUtil.getUser(); |
| | | return dataService.getDAlmPopUp(uinf.getUid()); |
| | | return dataService.getDevAlmPopUp(uinf.getUid()); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取历史告警") |
| | | @PostMapping("getDAlmHis") |
| | | public Response getDAlmHis( @RequestBody DalmDto dto) throws ParseException { |
| | | return dataService.getDAlmHis(dto); |
| | | public Response getDevAlmHis( @RequestBody DalmDto dto) throws ParseException { |
| | | return dataService.getDevAlmHis(dto); |
| | | } |
| | | |
| | | @ApiOperation(value = "确认实时告警") |
| | | @GetMapping("confiirmAlm") |
| | | public Response confiirmAlm(@RequestParam int num){ |
| | | return dataService.confiirmAlm(num); |
| | | public Response confirmAlm(@RequestParam int num){ |
| | | return dataService.confirmAlm(num); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取所有的告警类型") |