|
@@ -1028,7 +1028,8 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
String zipPath = cachePath + downloadName;
|
|
|
ZipUtil.zip(localImagesPath, zipPath);
|
|
|
//上传压缩包
|
|
|
- uploadToOssUtil.upload(zipPath, String.format(cacheFormat, num) + downloadName);
|
|
|
+// uploadToOssUtil.upload(zipPath, String.format(cacheFormat, num) + downloadName);
|
|
|
+ uploadToOssUtil.uploadBySh(zipPath, String.format(cacheFormat, num) + downloadName);
|
|
|
url = ossUrlPrefix + String.format(cacheFormat, num) + downloadName;
|
|
|
//删除本地压缩包
|
|
|
FileUtils.deleteFile(zipPath);
|