| | |
| | | * @param monitorParam 添加摄像头结果 |
| | | * @return |
| | | */ |
| | | @GetMapping("/addYSYMonitor") |
| | | @PostMapping("/addYSYMonitor") |
| | | public ResponseVO<Object> addYSYMonitor(@RequestBody MonitorParam monitorParam) { |
| | | YSY_MonitorDto addMonitorDto = monitorService.addYSYMonitor(monitorParam.getAccessToken(), monitorParam.getDeviceSerial(), monitorParam.getValidateCode()); |
| | | |
| | |
| | | * @param monitorParam 添加摄像头结果 |
| | | * @return |
| | | */ |
| | | @GetMapping("/deleteYSYMonitor") |
| | | @PostMapping("/deleteYSYMonitor") |
| | | public ResponseVO<Object> deleteYSYMonitor(@RequestBody MonitorParam monitorParam) { |
| | | YSY_MonitorDto addMonitorDto = monitorService.deleteYSYMonitor(monitorParam.getAccessToken(), monitorParam.getDeviceSerial()); |
| | | |
| | |
| | | * @param monitorParam |
| | | * @return |
| | | */ |
| | | @GetMapping("/getYSYMonitorInfoAndaddMonitorToTable") |
| | | @PostMapping("/getYSYMonitorInfoAndaddMonitorToTable") |
| | | public boolean getYSYMonitorInfoAndaddMonitorToTable(@RequestBody MonitorParam monitorParam) { |
| | | YSY_MonitorDto getMonitorDto = monitorService.getYSYMonitorInfo(monitorParam.getAccessToken(), monitorParam.getDeviceSerial()); |
| | | |