From a6719714bfd4dc7c17ec3b8ab022f6e5c990b0fd Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期四, 21 七月 2022 11:33:59 +0800 Subject: [PATCH] 更新zip解析 --- src/main/java/com/whyc/controller/ProductBomApprovingController.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/ProductBomApprovingController.java b/src/main/java/com/whyc/controller/ProductBomApprovingController.java index 46b5644..efbe295 100644 --- a/src/main/java/com/whyc/controller/ProductBomApprovingController.java +++ b/src/main/java/com/whyc/controller/ProductBomApprovingController.java @@ -3,6 +3,7 @@ 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; @@ -44,4 +45,11 @@ return response; } + @PostMapping("zipParse") + @ApiOperation("zip瑙f瀽") + public Response zipParse(@RequestParam("file") MultipartFile file) throws IOException { + return service.zipParse(file); + } + + } -- Gitblit v1.9.1