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 FdkkAddressSource implements AddressSource {

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


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