lyhzzz 2 年 前
コミット
01544d896d

+ 2 - 2
src/main/java/com/fdkankan/manage/httpClient/service/LaserService.java

@@ -60,8 +60,8 @@ public class LaserService {
 
         List<SceneVo> sceneVoList = new ArrayList<>();
         String newBasePath = basePath;
-        newBasePath = newBasePath.contains("dev")? newBasePath += "/dev" : newBasePath;
-        newBasePath = newBasePath.contains("uat")? newBasePath += "/uat" : 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);