正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -163,7 +163,7 @@ public class ControlGkjController extends BaseController { | @@ -163,7 +163,7 @@ public class ControlGkjController extends BaseController { | ||
| 163 | @ApiImplicitParams({ | 163 | @ApiImplicitParams({ |
| 164 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), | 164 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), |
| 165 | @ApiImplicitParam(name = "url", value = "url", required = true, dataType = "String", paramType = "query"), | 165 | @ApiImplicitParam(name = "url", value = "url", required = true, dataType = "String", paramType = "query"), |
| 166 | - @ApiImplicitParam(name = "name", value = "名称", required = true, dataType = "String", paramType = "query"), | 166 | + @ApiImplicitParam(name = "name", value = "名称", required = true, dataType = "String", paramType = "pqueryath"), |
| 167 | }) | 167 | }) |
| 168 | @GetMapping("/upload/{deviceId}") | 168 | @GetMapping("/upload/{deviceId}") |
| 169 | public AjaxResult upload(@PathVariable String deviceId,String url,String name) { | 169 | public AjaxResult upload(@PathVariable String deviceId,String url,String name) { |
| @@ -184,7 +184,7 @@ public class ControlGkjController extends BaseController { | @@ -184,7 +184,7 @@ public class ControlGkjController extends BaseController { | ||
| 184 | @ApiImplicitParams({ | 184 | @ApiImplicitParams({ |
| 185 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), | 185 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), |
| 186 | }) | 186 | }) |
| 187 | - @GetMapping("/cameraStartStream/{deviceId}") | 187 | + @PostMapping("/cameraStartStream/{deviceId}") |
| 188 | public AjaxResult camera(@PathVariable String deviceId,@RequestBody StartStream startStream) { | 188 | public AjaxResult camera(@PathVariable String deviceId,@RequestBody StartStream startStream) { |
| 189 | HostCommand hostCommand = new HostCommand(); | 189 | HostCommand hostCommand = new HostCommand(); |
| 190 | hostCommand.setFunction("camera"); | 190 | hostCommand.setFunction("camera"); |
| @@ -203,7 +203,7 @@ public class ControlGkjController extends BaseController { | @@ -203,7 +203,7 @@ public class ControlGkjController extends BaseController { | ||
| 203 | @ApiImplicitParams({ | 203 | @ApiImplicitParams({ |
| 204 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), | 204 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), |
| 205 | }) | 205 | }) |
| 206 | - @GetMapping("/cameraStartStreamBySerial/{deviceId}") | 206 | + @PostMapping("/cameraStartStreamBySerial/{deviceId}") |
| 207 | public AjaxResult cameraStartStreamBySerial(@PathVariable String deviceId,@RequestBody StartStreamBySerial startStreamBySerial) { | 207 | public AjaxResult cameraStartStreamBySerial(@PathVariable String deviceId,@RequestBody StartStreamBySerial startStreamBySerial) { |
| 208 | HostCommand hostCommand = new HostCommand(); | 208 | HostCommand hostCommand = new HostCommand(); |
| 209 | hostCommand.setFunction("camera"); | 209 | hostCommand.setFunction("camera"); |
| @@ -222,7 +222,7 @@ public class ControlGkjController extends BaseController { | @@ -222,7 +222,7 @@ public class ControlGkjController extends BaseController { | ||
| 222 | @ApiImplicitParams({ | 222 | @ApiImplicitParams({ |
| 223 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), | 223 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), |
| 224 | }) | 224 | }) |
| 225 | - @GetMapping("/cameraStopStream/{deviceId}") | 225 | + @PostMapping("/cameraStopStream/{deviceId}") |
| 226 | public AjaxResult cameraStopStream(@PathVariable String deviceId,@RequestBody StopStream stopStream) { | 226 | public AjaxResult cameraStopStream(@PathVariable String deviceId,@RequestBody StopStream stopStream) { |
| 227 | HostCommand hostCommand = new HostCommand(); | 227 | HostCommand hostCommand = new HostCommand(); |
| 228 | hostCommand.setFunction("camera"); | 228 | hostCommand.setFunction("camera"); |
| @@ -241,7 +241,7 @@ public class ControlGkjController extends BaseController { | @@ -241,7 +241,7 @@ public class ControlGkjController extends BaseController { | ||
| 241 | @ApiImplicitParams({ | 241 | @ApiImplicitParams({ |
| 242 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), | 242 | @ApiImplicitParam(name = "deviceId", value = "设备ID", required = true, dataType = "String", paramType = "path"), |
| 243 | }) | 243 | }) |
| 244 | - @GetMapping("/addCamera/{deviceId}") | 244 | + @PostMapping("/addCamera/{deviceId}") |
| 245 | public AjaxResult cameraStopStream(@PathVariable String deviceId, @RequestBody AddCamera addCamera) { | 245 | public AjaxResult cameraStopStream(@PathVariable String deviceId, @RequestBody AddCamera addCamera) { |
| 246 | HostCommand hostCommand = new HostCommand(); | 246 | HostCommand hostCommand = new HostCommand(); |
| 247 | hostCommand.setFunction("camera"); | 247 | hostCommand.setFunction("camera"); |
-
请 注册 或 登录 后发表评论