|
@@ -525,6 +525,9 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
|
|
|
String cacheFormat = "downloads/scene/%s/caches/";
|
|
|
String cacheImageFormat = "downloads/scene/%s/caches/images/";
|
|
|
+
|
|
|
+ //删除本地文件
|
|
|
+ FileUtils.deleteDirectory(localImagesPath);
|
|
|
//如果入参文件名不为空,则是单个文件下载,不需要打包
|
|
|
if(StrUtil.isNotEmpty(fileName)){
|
|
|
//先下载到本地
|