diff --git a/acs/nladmin-system/src/main/java/org/nl/hand/amb/rest/HFHandController.java b/acs/nladmin-system/src/main/java/org/nl/hand/amb/rest/HFHandController.java index eb493d7..b6b830d 100644 --- a/acs/nladmin-system/src/main/java/org/nl/hand/amb/rest/HFHandController.java +++ b/acs/nladmin-system/src/main/java/org/nl/hand/amb/rest/HFHandController.java @@ -25,7 +25,7 @@ import java.util.Map; @RestController @RequiredArgsConstructor @Api(tags = "手持接口") -@RequestMapping("/api/hand") +@RequestMapping("/api") @Slf4j public class HFHandController { private final HFHandService HandService; @@ -39,10 +39,10 @@ public class HFHandController { return new ResponseEntity<>(HandService.queryArea(null), HttpStatus.OK); } - @PostMapping("/queryDevice") + @PostMapping("/pda/queryDevice") @Log("查询区域点位") @ApiOperation("查询区域点位") - @SaIgnore + //@SaIgnore //@PreAuthorize("@el.check('sect:list')") public ResponseEntity queryDevice() { return new ResponseEntity<>(HandService.queryPoint(), HttpStatus.OK); @@ -89,7 +89,7 @@ public class HFHandController { return new ResponseEntity<>(HandService.queryTaskType(), HttpStatus.OK); } - @PostMapping("/tasks") + @PostMapping("/axg/hand/tasks") @Log("查询任务") @ApiOperation("查询任务") @SaIgnore @@ -99,7 +99,7 @@ public class HFHandController { return new ResponseEntity<>(HandService.queryTask(whereJson), HttpStatus.OK); } - @PostMapping("/insts") + @PostMapping("/axg/hand/insts") @Log("查询指令") @ApiOperation("查询指令") @SaIgnore @@ -118,7 +118,7 @@ public class HFHandController { return new ResponseEntity<>(HandService.queryRouteplanType(), HttpStatus.OK); } - @PostMapping("/task") + @PostMapping("/pda/task") @Log("创建任务") @ApiOperation("创建任务") @SaIgnore @@ -127,7 +127,7 @@ public class HFHandController { return new ResponseEntity<>(HandService.createTask(whereJson), HttpStatus.OK); } - @PostMapping("/inst") + @PostMapping("/axg/hand/inst") @Log("指令操作") @ApiOperation("指令操作") @SaIgnore @@ -136,7 +136,7 @@ public class HFHandController { return new ResponseEntity<>(HandService.Instoperation(whereJson), HttpStatus.OK); } - @PostMapping("/taskoperation") + @PostMapping("/axg/hand/taskoperation") @Log("任务操作") @ApiOperation("任务操作") @SaIgnore