lyhzzz 2 年之前
父節點
當前提交
3c6f368fc4
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/java/com/fdkankan/agent/httpClient/service/LaserService.java

+ 3 - 1
src/main/java/com/fdkankan/agent/httpClient/service/LaserService.java

@@ -65,7 +65,9 @@ public class LaserService {
         List<SceneVo> sceneVoList = new ArrayList<>();
         String newBasePath = basePath;
         //String newBasePath = basePath.contains("uat")? basePath += "/uat" : basePath;
-        newBasePath = newBasePath.contains("dev")? newBasePath += "/dev" : newBasePath;
+        newBasePath = newBasePath.contains("dev")? newBasePath + "/dev" : newBasePath;
+        newBasePath = newBasePath.contains("uat")? newBasePath + "/uat" : newBasePath;
+        newBasePath =  newBasePath.replace("/backend","");
         for (Object o : list) {
             String res = JSONObject.toJSONString(o);
             SceneVo vo = JSONObject.parseObject(res,SceneVo.class);