Commit 407ce63630be00f541d4fcb15b2a25bf4dab4566
1 parent
272e8f03
标准化视频预览api
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java
| @@ -26,7 +26,7 @@ public class PlayController { | @@ -26,7 +26,7 @@ public class PlayController { | ||
| 26 | @Autowired | 26 | @Autowired |
| 27 | private IVideoManagerStorager storager; | 27 | private IVideoManagerStorager storager; |
| 28 | 28 | ||
| 29 | - @GetMapping("/play/{deviceId}_{channelId}") | 29 | + @GetMapping("/play/{deviceId}/{channelId}") |
| 30 | public ResponseEntity<String> play(@PathVariable String deviceId,@PathVariable String channelId){ | 30 | public ResponseEntity<String> play(@PathVariable String deviceId,@PathVariable String channelId){ |
| 31 | 31 | ||
| 32 | Device device = storager.queryVideoDevice(deviceId); | 32 | Device device = storager.queryVideoDevice(deviceId); |