From 66db1d15cf5d4b51a346a42b66f0505bd7f31ce0 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 03 一月 2024 15:23:47 +0800 Subject: [PATCH] 解压 --- src/main/java/com/whyc/controller/ProductBomApprovingController.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/whyc/controller/ProductBomApprovingController.java b/src/main/java/com/whyc/controller/ProductBomApprovingController.java index 4881cdb..2ac13ba 100644 --- a/src/main/java/com/whyc/controller/ProductBomApprovingController.java +++ b/src/main/java/com/whyc/controller/ProductBomApprovingController.java @@ -3,15 +3,11 @@ import com.whyc.dto.Response; import com.whyc.pojo.ProductBomApproving; import com.whyc.service.ProductBomApprovingService; -import com.whyc.util.Zip4jUtil; import io.swagger.annotations.Api; 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 +47,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