lyhzzz 2 years ago
parent
commit
67d11f2faf

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

@@ -38,6 +38,7 @@ public class LaserService {
         long total =jsonObject.getLong("total");
 
         List<SceneVo> sceneVoList = new ArrayList<>();
+        basePath = basePath.contains("uat")? basePath += "/uat" : basePath;
         for (Object o : list) {
             String res = JSONObject.toJSONString(o);
             SceneVo vo = JSONObject.parseObject(res,SceneVo.class);
@@ -47,7 +48,6 @@ public class LaserService {
             vo.setSceneName(obj.getString("title"));
             vo.setUserName(obj.getString("phone"));
 
-            basePath = basePath.contains("uat")? basePath += "/uat" : basePath;
             vo.setThumb(basePath +"/index.html?m="+vo.getNum() );
             sceneVoList.add(vo);
         }