提交 2fc6f890 authored 作者: 任建彩's avatar 任建彩

feat:打包文件

1.resource
上级 be67b727
...@@ -366,7 +366,7 @@ public class FileController { ...@@ -366,7 +366,7 @@ public class FileController {
@ApiOperation(value = "删除下载后的zip文件") @ApiOperation(value = "删除下载后的zip文件")
@RequestMapping(value = "/deleteZip", method = RequestMethod.POST) @RequestMapping(value = "/deleteZip", method = RequestMethod.POST)
public Boolean downLoadResource(String fileName) throws Exception { public Boolean downLoadResource(String fileName) throws Exception {
String filePath = rootPath+fileName; String filePath = fileName;
//删除源ZIP文件 //删除源ZIP文件
File file = new File(filePath); File file = new File(filePath);
if (file.exists() && file.isFile()) { if (file.exists() && file.isFile()) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论