From 8efdc4fe4d6a8c894a13b13f4992a4dc62f4f751 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期五, 22 七月 2022 11:17:58 +0800 Subject: [PATCH] dwg转pdf工具 --- src/main/java/com/whyc/controller/ProductBomApprovingController.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/whyc/controller/ProductBomApprovingController.java b/src/main/java/com/whyc/controller/ProductBomApprovingController.java index 4881cdb..94b1419 100644 --- a/src/main/java/com/whyc/controller/ProductBomApprovingController.java +++ b/src/main/java/com/whyc/controller/ProductBomApprovingController.java @@ -8,10 +8,7 @@ import io.swagger.annotations.ApiOperation; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; import java.io.IOException; @@ -51,5 +48,10 @@ return service.zipParse(file); } + @GetMapping("dwgReview") + @ApiOperation("dwg鏂囦欢棰勮") + public Response dwgReview(@RequestParam String dwgUrl) throws IOException { + return service.dwgReview(dwgUrl); + } } -- Gitblit v1.9.1