소스 검색

测试合并2

wuweihao 3 년 전
부모
커밋
8b1173e408
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      720yun_local_manage/gis_pano/src/main/java/com/gis/cms/service/impl/OpsServiceImpl.java

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

@@ -298,9 +298,9 @@ public class OpsServiceImpl  implements OpsService {
 
         // 修改url路径
         String basePath = "panos/" + sceneCode +".tiles";
-        String regex = "url=\"panos/" + basePath;
-        String replacement = "url=\"/pano/" + sceneCode + "/" + basePath;
-        s.replaceAll(regex, replacement);
+//        String regex = "panos/" + basePath;
+        String replacement = "/pano/" + sceneCode + "/" + basePath;
+        s.replaceAll(basePath, replacement);
 
         return s;