| | |
| | | @GetMapping |
| | | public ResponseVO<Object> listMonitor() { |
| | | List<Monitor> list = monitorService.listMonitor(); |
| | | return ResponseUtil.successPage(list); |
| | | return ResponseUtil.success(list); |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/listMonitorByKeyword") |
| | | @PostMapping("/listMonitorByKeyword") |
| | | public ResponseVO<Object> listMonitorByKeyword(@RequestBody MonitorParam monitorParam) { |
| | | List<Monitor> list = monitorService.listMonitorByKeyword(monitorParam); |
| | | return ResponseUtil.successPage(list); |
| | | return ResponseUtil.success(list); |
| | | } |
| | | |
| | | |