Commit db78ac2b7738c5cd6fee9f227638eb026c0bf8e1
Committed by
xp.Huang
1 parent
4f40c498
fix:云台控制传参参数错误
(cherry picked from commit 6ac2a485f13240ca17c4cf6385955afa659b2a93)
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -116,7 +116,7 @@ public class TkVideoController extends BaseController { | @@ -116,7 +116,7 @@ public class TkVideoController extends BaseController { | ||
116 | @GetMapping("controlling") | 116 | @GetMapping("controlling") |
117 | @ApiOperation("云台操作") | 117 | @ApiOperation("云台操作") |
118 | public ResponseResult<String> controlling( | 118 | public ResponseResult<String> controlling( |
119 | - @RequestParam(value = "organizationId", required = false) String organizationId, | 119 | + @RequestParam(value = "cameraIndexCode", required = false) String cameraIndexCode, |
120 | @RequestParam(value = "action", required = false)int action, | 120 | @RequestParam(value = "action", required = false)int action, |
121 | @RequestParam(value = "command", required = false) String command) | 121 | @RequestParam(value = "command", required = false) String command) |
122 | throws ThingsboardException { | 122 | throws ThingsboardException { |
@@ -125,7 +125,7 @@ public class TkVideoController extends BaseController { | @@ -125,7 +125,7 @@ public class TkVideoController extends BaseController { | ||
125 | getCurrentUser().isTenantAdmin(), | 125 | getCurrentUser().isTenantAdmin(), |
126 | getCurrentUser().getCurrentUserId(), | 126 | getCurrentUser().getCurrentUserId(), |
127 | getCurrentUser().getCurrentTenantId(), | 127 | getCurrentUser().getCurrentTenantId(), |
128 | - organizationId, | 128 | + cameraIndexCode, |
129 | action, | 129 | action, |
130 | command | 130 | command |
131 | )); | 131 | )); |