From 8c056ee9d6efbb9c42327bdfd374031dc0755e06 Mon Sep 17 00:00:00 2001 From: gengby <858962040@qq.com> Date: Thu, 15 Dec 2022 17:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/hand/amb/rest/HFHandController.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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