diff --git a/src/main/java/com/chint/application/in/OrderController.java b/src/main/java/com/chint/application/in/OrderController.java index ffa7874a..9e0f0f4a 100644 --- a/src/main/java/com/chint/application/in/OrderController.java +++ b/src/main/java/com/chint/application/in/OrderController.java @@ -82,9 +82,9 @@ public class OrderController { @Transactional @ApiOperation("修改行程节点") - @PostMapping("/leg/update") - public Result updateLeg(@RequestBody AddLegData addLegData) { - orderApplicationService.updateLegToOrder(addLegData); + @PostMapping("/leg/change/") + public Result changeLeg(@RequestBody AddLegData addLegData) { + orderApplicationService.changeLeg(addLegData); return Result.Success(SUCCESS); } diff --git a/src/main/java/com/chint/application/services/OrderApplicationService.java b/src/main/java/com/chint/application/services/OrderApplicationService.java index 29a25522..f2fae889 100644 --- a/src/main/java/com/chint/application/services/OrderApplicationService.java +++ b/src/main/java/com/chint/application/services/OrderApplicationService.java @@ -153,4 +153,8 @@ public class OrderApplicationService { @Transactional public void updateLegToOrder(AddLegData addLegData) { } + + @Transactional + public void changeLeg(AddLegData addLegData) { + } }