dengsixing 2 weeks ago
parent
commit
15fa6568b7

+ 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);