فهرست منبع

场景obj模型转换为b3dm

lyhzzz 1 سال پیش
والد
کامیت
cdc8926a6a

+ 3 - 2
src/main/java/com/fdkankan/fusion/httpClient/address/FdkkAddressSource.java

@@ -11,10 +11,11 @@ public class FdkkAddressSource implements AddressSource {
 
     @Value("${4dkk.fdService.basePath}")
     private String basePath;
-
+    @Value("${4dkk.fdService.port}")
+    private Integer port;
 
     @Override
     public ForestAddress getAddress(ForestRequest forestRequest) {
-        return new ForestAddress("","",null,basePath);
+        return new ForestAddress("","",port,basePath);
     }
 }

+ 3 - 2
src/main/java/com/fdkankan/fusion/httpClient/address/LaserAddressSource.java

@@ -11,10 +11,11 @@ public class LaserAddressSource implements AddressSource {
 
     @Value("${4dkk.laserService.basePath}")
     private String basePath;
-
+    @Value("${4dkk.fdService.port}")
+    private Integer port;
 
     @Override
     public ForestAddress getAddress(ForestRequest forestRequest) {
-        return new ForestAddress("","",null,basePath);
+        return new ForestAddress("","",port,basePath);
     }
 }

+ 4 - 4
src/main/resources/application.yaml

@@ -47,14 +47,14 @@ spring:
 4dkk:
   laserService:
     #深时(激光)地址 生产环境:https://laser.4dkankan.com/
-    basePath: http://4dkankan-mix3d-laser
-    port: 80
+    basePath: http://4dkankan-mix3d-modeling-scene
+    port: 9795
     #basePath: http://192.168.0.152:8080
     #port: 8080
   fdService:
     #官网生产环境:https://www.4dkankan.com      http://test.4dkankan.com
-    basePath: http://4dkankan-mix3d-ucenter
-    port: 8082
+    basePath: http://4dkankan-mix3d-gateway
+    port: 8081
   takeLookService:
     basePath: http://127.0.0.1
     port: 80