|
@@ -88,9 +88,9 @@ public class InnerController extends BaseController {
|
|
|
/**
|
|
|
* 相机开启rtk获取账号
|
|
|
*/
|
|
|
- @GetMapping("/info/{rtkSnCode}/{cameraSn}")
|
|
|
+ @GetMapping("/info/{rtkSnCode}")
|
|
|
public synchronized ResultData info(@PathVariable String rtkSnCode,
|
|
|
- @PathVariable(value = "cameraSn",required = false) String cameraSn){
|
|
|
+ @RequestParam(value = "cameraSn",required = false) String cameraSn){
|
|
|
if(StringUtils.isBlank(rtkSnCode)){
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
@@ -116,9 +116,9 @@ public class InnerController extends BaseController {
|
|
|
/**
|
|
|
* 相机关闭rtk,回收账号
|
|
|
*/
|
|
|
- @GetMapping("/stop/{rtkSnCode}/{cameraSn}")
|
|
|
+ @GetMapping("/stop/{rtkSnCode}")
|
|
|
public ResultData stop(@PathVariable String rtkSnCode,
|
|
|
- @PathVariable(value = "cameraSn",required = false) String cameraSn){
|
|
|
+ @RequestParam(value = "cameraSn",required = false) String cameraSn){
|
|
|
if(StringUtils.isBlank(rtkSnCode)){
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|