瀏覽代碼

Merge branch 'feature-slimming-nas-20220130-dsx' into test

dsx 2 年之前
父節點
當前提交
e88a1d0033
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/fdkankan/contro/mq/service/impl/CommonServiceImpl.java

+ 2 - 2
src/main/java/com/fdkankan/contro/mq/service/impl/CommonServiceImpl.java

@@ -92,7 +92,7 @@ public class CommonServiceImpl implements ICommonService {
         }
         }
         String localDepthmapAsc = dataSource + "/caches/depthmap_csc/";
         String localDepthmapAsc = dataSource + "/caches/depthmap_csc/";
         String ossDepthmapAsc = ossResultPath + "caches/depthmap_csc/";
         String ossDepthmapAsc = ossResultPath + "caches/depthmap_csc/";
-        if(FileUtil.exist(localDepthmap)){
+        if(FileUtil.exist(localDepthmapAsc)){
             fYunFileServiceInterface.uploadFileByCommand(localDepthmapAsc, ossDepthmapAsc);
             fYunFileServiceInterface.uploadFileByCommand(localDepthmapAsc, ossDepthmapAsc);
         }
         }
         String localPanoramaJson =  dataSource + "/caches/panorama.json";
         String localPanoramaJson =  dataSource + "/caches/panorama.json";
@@ -113,7 +113,7 @@ public class CommonServiceImpl implements ICommonService {
         String localDepthmapVis = dataSource + "/caches/depthmap_vis";
         String localDepthmapVis = dataSource + "/caches/depthmap_vis";
         String ossDepthmapVis = ossResultPath + "caches/depthmap_vis";
         String ossDepthmapVis = ossResultPath + "caches/depthmap_vis";
         if(FileUtil.exist(localDepthmapVis)){
         if(FileUtil.exist(localDepthmapVis)){
-            fYunFileServiceInterface.uploadFile(localDepthmapVis, ossDepthmapVis);
+            fYunFileServiceInterface.uploadFileByCommand(localDepthmapVis, ossDepthmapVis);
         }
         }