2 Commits d380cf4b77 ... a868c3dbc5

Author SHA1 Message Date
  gaodd a868c3dbc5 。。 3 months ago
  gdd 2bafcab8f2 Merge branch 'dev' of province-qinghai/province-all into master 3 months ago

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/equipmentOnlineRateAssessment/modular/hk/controller/PreviewPlaybackController.java

@@ -45,13 +45,12 @@ public class PreviewPlaybackController {
45
     
45
     
46
     /**
46
     /**
47
      * 摄像头回放
47
      * 摄像头回放
48
-     * @param playbackReqDTO
49
      * @return
48
      * @return
50
      */
49
      */
51
     @ApiOperationSupport(order = 2)
50
     @ApiOperationSupport(order = 2)
52
     @ApiOperation("*视频回放")
51
     @ApiOperation("*视频回放")
53
-    @GetMapping("/previewPlayback/getPlayback")
54
-    public CommonResult<PlaybackResDTO> getPlayback(PlaybackReqDTO playbackReqDTO) {
52
+    @PostMapping("/previewPlayback/getPlayback")
53
+    public CommonResult<PlaybackResDTO> getPlayback(@RequestBody PlaybackReqDTO playbackReqDTO) {
55
         return CommonResult.data(hkService.playbackURLs(playbackReqDTO));
54
         return CommonResult.data(hkService.playbackURLs(playbackReqDTO));
56
     }
55
     }
57
 
56
 
@@ -91,8 +90,9 @@ public class PreviewPlaybackController {
91
     @ApiOperation(value="*云台控制", notes = "云台控制")
90
     @ApiOperation(value="*云台控制", notes = "云台控制")
92
     @GetMapping("/previewPlayback/controlling")
91
     @GetMapping("/previewPlayback/controlling")
93
     //@SaCheckPermission("/previewPlayback/controlling")
92
     //@SaCheckPermission("/previewPlayback/controlling")
94
-    public void controlling(ControllerReqDTO controllerReqDTO) {
93
+    public CommonResult controlling(ControllerReqDTO controllerReqDTO) {
95
         hkService.controlling(controllerReqDTO);
94
         hkService.controlling(controllerReqDTO);
95
+        return CommonResult.ok();
96
     }
96
     }
97
 
97
 
98
 }
98
 }