|
@@ -554,7 +554,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
//打包
|
|
|
String zipName = num + "_images.zip";
|
|
|
String zipPath = cachePath + zipName;
|
|
|
- FileUtil.zip(localImagesPath, zipPath, false);
|
|
|
+ FileUtils.zipFile(zipPath, localImagesPath);
|
|
|
//上传压缩包
|
|
|
uploadToOssUtil.upload(zipPath, String.format(cacheFormat, num) + zipName);
|
|
|
String url = ossUrlPrefix + String.format(cacheFormat, num) + zipName + "?t=" + Calendar.getInstance().getTimeInMillis();
|