dengsixing 2 周之前
父节点
当前提交
15fa6568b7
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/main/java/com/fdkankan/contro/mq/service/impl/BuildSxRelocationServiceImpl.java

+ 8 - 0
src/main/java/com/fdkankan/contro/mq/service/impl/BuildSxRelocationServiceImpl.java

@@ -182,6 +182,14 @@ public class BuildSxRelocationServiceImpl implements IBuildSceneService {
             //上传文件
             fYunFileService.uploadMulFiles(uploadFiles);
 
+            //上传caches/images
+            String  ossResultPath = String.format(UploadFilePath.scene_result_data_path, sceneCode);
+            String localCachesImagePath = path + "/caches/images/";
+            String ossCachesImagePath = ossResultPath + "caches/images/";
+            if(FileUtil.exist(localCachesImagePath)){
+                fYunFileService.uploadFileByCommand(localCachesImagePath, ossCachesImagePath);
+            }
+
             //容量统计
             Long space = commonService.getSpace(sceneCode);