lyhzzz 2 年之前
父節點
當前提交
502372f6d8
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/main/java/com/fdkankan/tk/httpClient/address/SocketAddressSource.java

+ 1 - 3
src/main/java/com/fdkankan/tk/httpClient/address/SocketAddressSource.java

@@ -11,11 +11,9 @@ public class SocketAddressSource implements AddressSource {
 
     @Value("${4dkk.SocketService.basePath}")
     private String basePath;
-    @Value("${4dkk.SocketService.host}")
-    private String host;
 
     @Override
     public ForestAddress getAddress(ForestRequest forestRequest) {
-        return new ForestAddress("",host,null,basePath);
+        return new ForestAddress("","",null,basePath);
     }
 }