自动打包优化
parent
40a3a998d5
commit
093c2ef83a
|
@ -54,6 +54,7 @@ public class FileCompressor {
|
|||
if (StrUtil.isBlank(finalPath)) {
|
||||
finalPath = "/";
|
||||
}
|
||||
finalPath = finalPath.replace(File.separator, "/");
|
||||
ZipEntry zipEntry = new ZipEntry(finalPath);
|
||||
zipOutputStream.putNextEntry(zipEntry);
|
||||
|
||||
|
|
Loading…
Reference in New Issue