‘liusuyi’
2024-03-09 bfebb3257d57c7b1906a09ac3b76af1bc9e62d25
ard-work/src/main/java/com/ruoyi/utils/sdk/hiksdk/controller/HikSdkController.java
@@ -85,7 +85,7 @@
    public @ResponseBody
    AjaxResult PTZControlWithSpeed(@RequestBody CameraCmd cmd) {
        cmd.setOperator(SecurityUtils.getUserId());
        return toAjax(sdk.pTZControl(cmd));
        return sdk.pTZControl(cmd);
    }
    @ApiOperation("调用预置点")
@@ -158,7 +158,7 @@
    public @ResponseBody
    AjaxResult setPTZ(@RequestBody CameraCmd cmd) {
        cmd.setOperator(SecurityUtils.getUserId());
        return toAjax(sdk.setPtz(cmd));
        return sdk.setPtz(cmd);
    }
    @ApiOperation("指向目标")