| | |
| | | /** |
| | | * 获取单个设备信息 getYSYMonitorInfo |
| | | */ |
| | | @GetMapping("/getYSYMonitorInfo") |
| | | @PostMapping("/getYSYMonitorInfo") |
| | | public ResponseVO<Object> getYSYMonitorInfo(@RequestBody MonitorParam monitorParam) { |
| | | YSY_MonitorDto getMonitorDto = monitorService.getYSYMonitorInfo(monitorParam.getAccessToken(), monitorParam.getDeviceSerial()); |
| | | |
| | |
| | | /** |
| | | * 获取摄像头URL播放地址 |
| | | */ |
| | | @GetMapping("/getMonitorVideoUrl") |
| | | public ResponseVO<Object> getMonitorVideoUrl(@RequestParam MonitorParam monitorParam) { |
| | | @PostMapping("/getMonitorVideoUrl") |
| | | public ResponseVO<Object> getMonitorVideoUrl(@RequestBody MonitorParam monitorParam) { |
| | | String URL = monitorService.getMonitorVideoUrl(monitorParam.getAccessToken(), |
| | | monitorParam.getDeviceSerial(), monitorParam.getProtocol(), monitorParam.getExpireTime()); |
| | | |