Browse Source

场景访问链接

lyhzzz 1 year ago
parent
commit
dff080b95d

+ 0 - 5
src/main/java/com/fdkankan/agent/httpClient/service/LaserService.java

@@ -63,11 +63,7 @@ public class LaserService {
         long total =jsonObject.getLong("total");
 
         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("uat")? newBasePath + "/uat" : newBasePath;
-        newBasePath =  newBasePath.replace("/backend","");
         for (Object o : list) {
             String res = JSONObject.toJSONString(o);
             SceneVo vo = JSONObject.parseObject(res,SceneVo.class);
@@ -82,7 +78,6 @@ public class LaserService {
             }
             vo.setSceneName(obj.getString("title"));
             vo.setUserName(obj.getString("phone"));
-            vo.setThumb(newBasePath +"/index.html?m="+vo.getNum() );
             vo.setPayStatus(1);
             sceneVoList.add(vo);
         }

+ 2 - 0
src/main/java/com/fdkankan/agent/response/SceneVo.java

@@ -19,6 +19,8 @@ public class SceneVo {
     private String sceneVersion;   //场景版本
 
     private String thumb;           //场景链接
+    private String webSite;           //场景链接
+
 
     private String algorithmTime;  //v4场景计算完成时间