diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/web/controller/OrderInfoWebController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/web/controller/OrderInfoWebController.java index 381c47d8..9d71d326 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/web/controller/OrderInfoWebController.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/order/web/controller/OrderInfoWebController.java @@ -98,8 +98,8 @@ public class OrderInfoWebController { value = "订单核销", notes = "cmt-订单核销" ) - public AjaxResult orderWriteOffWeb(@RequestParam Long orderId) { - this.orderWebBusiness.orderWriteOffWeb(orderId); + public AjaxResult orderWriteOffWeb(@RequestBody OrderRefundWebDTO content) { + this.orderWebBusiness.orderWriteOffWeb(content.getOrderId()); return AjaxResult.success(); }