Merge branch 'frx' into dev

This commit is contained in:
furongxin 2024-06-17 15:27:01 +08:00
commit a67bb9d41e

View File

@ -35,6 +35,15 @@ public class HikController {
return CommonResult.success(url);
}
@GetMapping("/m-getCameraUrl")
@Operation(summary = "视频播放->查询播放地址(微信用)")
public CommonResult<String> getMCameraUrl(String cameraCode) {
String url = hikService.getPreviewUrlsApi(cameraCode, 0);
String fullUrl = String.format("https://api.znkj.ispt.com.cn/demo/mobile_play.html?url=%s",url );
return CommonResult.success(fullUrl);
}
@GetMapping("/replayUrl")
@Operation(summary = "视频播放->回放流")
@PermitAll