2 Commits d380cf4b77 ... a868c3dbc5

Autor SHA1 Nachricht Datum
  gaodd a868c3dbc5 。。 vor 3 Monaten
  gdd 2bafcab8f2 Merge branch 'dev' of province-qinghai/province-all into master vor 3 Monaten

+ 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 48
      * @return
50 49
      */
51 50
     @ApiOperationSupport(order = 2)
52 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 54
         return CommonResult.data(hkService.playbackURLs(playbackReqDTO));
56 55
     }
57 56
 
@@ -91,8 +90,9 @@ public class PreviewPlaybackController {
91 90
     @ApiOperation(value="*云台控制", notes = "云台控制")
92 91
     @GetMapping("/previewPlayback/controlling")
93 92
     //@SaCheckPermission("/previewPlayback/controlling")
94
-    public void controlling(ControllerReqDTO controllerReqDTO) {
93
+    public CommonResult controlling(ControllerReqDTO controllerReqDTO) {
95 94
         hkService.controlling(controllerReqDTO);
95
+        return CommonResult.ok();
96 96
     }
97 97
 
98 98
 }