Commit 71d742cd49de0f16b87ef7741709c98d7d3b6377

Authored by xp.Huang
2 parents 415e6b0f 4fba2ad5

Merge branch 'cherry-pick-6ac2a485' into 'master'

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

See merge request yunteng/thingskit!316
... ... @@ -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 ));
... ...