同步代码

This commit is contained in:
lulz1 2024-02-29 09:33:39 +08:00
parent 7674527cbb
commit 3748fe0e6e
2 changed files with 7 additions and 3 deletions

View File

@ -82,9 +82,9 @@ public class OrderController {
@Transactional @Transactional
@ApiOperation("修改行程节点") @ApiOperation("修改行程节点")
@PostMapping("/leg/update") @PostMapping("/leg/change/")
public Result<String> updateLeg(@RequestBody AddLegData addLegData) { public Result<String> changeLeg(@RequestBody AddLegData addLegData) {
orderApplicationService.updateLegToOrder(addLegData); orderApplicationService.changeLeg(addLegData);
return Result.Success(SUCCESS); return Result.Success(SUCCESS);
} }

View File

@ -153,4 +153,8 @@ public class OrderApplicationService {
@Transactional @Transactional
public void updateLegToOrder(AddLegData addLegData) { public void updateLegToOrder(AddLegData addLegData) {
} }
@Transactional
public void changeLeg(AddLegData addLegData) {
}
} }