package com.fdkankan.ucenter.httpClient.address;

import com.dtflys.forest.callback.AddressSource;
import com.dtflys.forest.http.ForestAddress;
import com.dtflys.forest.http.ForestRequest;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class FdkkTakeLookAddressSource implements AddressSource {

    @Value("${4dkk.takeLookService.basePath}")
    private String basePath;


    @Override
    public ForestAddress getAddress(ForestRequest forestRequest) {
        return new ForestAddress("","",null,basePath);
    }
}
