Commit 4fba2ad5b568ee9bfa867e359da5cf2dd109ecc8

Authored by chenjunyu_1481036421
Committed by xp.Huang
1 parent 415e6b0f

fix:云台控制传参参数错误


(cherry picked from commit 6ac2a485f13240ca17c4cf6385955afa659b2a93)
... ... @@ -116,7 +116,7 @@ public class TkVideoController extends BaseController {
116 116 @GetMapping("controlling")
117 117 @ApiOperation("云台操作")
118 118 public ResponseResult<String> controlling(
119   - @RequestParam(value = "organizationId", required = false) String organizationId,
  119 + @RequestParam(value = "cameraIndexCode", required = false) String cameraIndexCode,
120 120 @RequestParam(value = "action", required = false)int action,
121 121 @RequestParam(value = "command", required = false) String command)
122 122 throws ThingsboardException {
... ... @@ -125,7 +125,7 @@ public class TkVideoController extends BaseController {
125 125 getCurrentUser().isTenantAdmin(),
126 126 getCurrentUser().getCurrentUserId(),
127 127 getCurrentUser().getCurrentTenantId(),
128   - organizationId,
  128 + cameraIndexCode,
129 129 action,
130 130 command
131 131 ));
... ...