|
@@ -3,9 +3,11 @@ package com.fdkankan.contro.httpclient;
|
|
|
import com.dtflys.forest.callback.AddressSource;
|
|
|
import com.dtflys.forest.http.ForestAddress;
|
|
|
import com.dtflys.forest.http.ForestRequest;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+@Slf4j
|
|
|
@Component
|
|
|
public class LaserAddressSource implements AddressSource {
|
|
|
|
|
@@ -15,6 +17,7 @@ public class LaserAddressSource implements AddressSource {
|
|
|
|
|
|
@Override
|
|
|
public ForestAddress getAddress(ForestRequest forestRequest) {
|
|
|
+ log.info("------------basePath:{}--------------", basePath);
|
|
|
return new ForestAddress("","",null,basePath);
|
|
|
}
|
|
|
}
|