|
@@ -234,6 +234,7 @@ public class BuildSceneServiceImpl implements IBuildSceneService {
|
|
|
if (!fYunFileService.getFyunType().equals(FYunTypeEnum.LOCAL.code())) {
|
|
|
// dam 文件设置请求头
|
|
|
uploadFiles.entrySet().stream().filter(entry -> FileNameUtil.extName(entry.getKey()).equals("dam"))
|
|
|
+ .filter(entry -> new File(entry.getKey()).exists())
|
|
|
.forEach(entry -> {
|
|
|
// gzip压缩
|
|
|
FileUtil.writeBytes(ZipUtil.gzip(new File(entry.getKey())), entry.getKey() + ".gzip");
|