From cbbc18e79cb498901290451ecf5b9fdbd2a212aa Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期二, 24 九月 2024 18:43:47 +0800 Subject: [PATCH] 1.合伙人-手机号修改 --- src/main/java/com/mzl/flower/web/customer/OrderCustomerController.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mzl/flower/web/customer/OrderCustomerController.java b/src/main/java/com/mzl/flower/web/customer/OrderCustomerController.java index f76374b..a18d47f 100644 --- a/src/main/java/com/mzl/flower/web/customer/OrderCustomerController.java +++ b/src/main/java/com/mzl/flower/web/customer/OrderCustomerController.java @@ -148,4 +148,19 @@ orderService.deleteOrder(id); return returnData(R.SUCCESS.getCode(), null); } + + + + + + @GetMapping(value = "/copyOrder") + @ApiImplicitParams({ + @ApiImplicitParam(name = "id", value = "订单id", required = true, dataType = "String", paramType = "query"), + }) + @ApiOperation(value = "再来一单") + public ResponseEntity<ReturnDataDTO> copyOrder(String id) { + String message=orderService.copyOrder(id); + return returnData(R.SUCCESS.getCode(),null, message); + } + } -- Gitblit v1.9.3