From 4a9de05ddd680d96c0010d31289bb36482a9c473 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 09 十月 2024 13:41:55 +0800 Subject: [PATCH] 1.商品评论-增加显示隐藏 2.商品统计-隐藏不统计 3.商品评论-增加回复 --- 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