diff --git a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/order/controller/OrderController.java b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/order/controller/OrderController.java index 2484b61..2c08da9 100644 --- a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/order/controller/OrderController.java +++ b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/order/controller/OrderController.java @@ -175,7 +175,7 @@ public class OrderController extends BaseController { } } - /* @ApiOperation(value = "租赁协议(查看)") + @ApiOperation(value = "租赁协议(查看)") @GetMapping("/leaseAgreement") public AjaxResult leaseAgreement(String orderId, Map replacements) throws IOException, ParseException { OrderInfoDto orderInfoDto = orderService.getAgreementByOrderId(orderId); @@ -241,7 +241,7 @@ public class OrderController extends BaseController { MultipartFile file = new MockMultipartFile("contract", "contract.docx", MediaType.APPLICATION_OCTET_STREAM_VALUE, wordBytes); return sysFileService.upload(file); - }*/ + } /* @ApiOperation(value = "购物车协议(查看)") @GetMapping("/bookCarAgreement") @@ -306,7 +306,7 @@ public class OrderController extends BaseController { }*/ - @ApiOperation(value = "租赁协议(查看)") + /* @ApiOperation(value = "租赁协议(查看)") @GetMapping("/leaseAgreement") public AjaxResult getleaseAgreement(String orderId, Map replacements) throws ParseException { OrderInfoDto orderInfoDto = orderService.getAgreementByOrderId(orderId); @@ -347,7 +347,7 @@ public class OrderController extends BaseController { StrSubstitutor sub = new StrSubstitutor(replacements); String result = sub.replace(bmContract.getContent()); return AjaxResult.success(result); - } + }*/ @ApiOperation(value = "购物车协议(查看)") @PostMapping("/bookCarAgreement")