forked from Thirdparty/wvp
1
0
Fork 0

标准化视频预览api

master
songww 2020-05-09 08:10:38 +08:00
parent 272e8f034f
commit 407ce63630
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class PlayController {
@Autowired @Autowired
private IVideoManagerStorager storager; private IVideoManagerStorager storager;
@GetMapping("/play/{deviceId}_{channelId}") @GetMapping("/play/{deviceId}/{channelId}")
public ResponseEntity<String> play(@PathVariable String deviceId,@PathVariable String channelId){ public ResponseEntity<String> play(@PathVariable String deviceId,@PathVariable String channelId){
Device device = storager.queryVideoDevice(deviceId); Device device = storager.queryVideoDevice(deviceId);