Browse Source

更新打包数据 路径

wuweihao 3 năm trước cách đây
mục cha
commit
1e45810911

+ 2 - 2
720yun_local_manage/gis_pano/src/main/java/com/gis/cms/service/impl/OpsServiceImpl.java

@@ -220,7 +220,7 @@ public class OpsServiceImpl  implements OpsService {
         int size = split.length;
         log.info("场景数量: {}", size);
         BaseRuntimeException.isHas(size==0, null, "场景码为空, 不需要合并");
-        String firstTourPath = File.separator + split[0] + "/vtour/tour.xml";
+        String firstTourPath = "/pano/" + split[0] + "/vtour/tour.xml";
         if (size == 1){
             log.info("firstTourPath:{}", firstTourPath);
             FileUtil.copy(configConstant.serverBasePath + firstTourPath, outPath, true);
@@ -230,7 +230,7 @@ public class OpsServiceImpl  implements OpsService {
             int i = 0;
             String tourPath;
             for (String sceneCode : split) {
-                tourPath = basePath + File.separator + sceneCode + "/vtour/tour.xml";
+                tourPath = basePath + "/pano/" + sceneCode + "/vtour/tour.xml";
                 String scene = getSceneLabel(tourPath);
                 sceneLabels.append(scene).append("\r\n");
                 i++;