lyhzzz пре 2 година
родитељ
комит
3c6f368fc4

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