package com.cnooc.expert.external.portal.service;

import com.cnooc.expert.external.common.AbstractRetrofitManager;
import com.cnooc.expert.external.portal.api.PortalServiceApi;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import retrofit2.Retrofit;

@Service
public class PortalServiceClient extends AbstractRetrofitManager {

    private final PortalServiceApi portalServiceApi;

    public PortalServiceClient(@Qualifier("retrofitPortal") Retrofit retrofit) {
        this.portalServiceApi = retrofit.create(PortalServiceApi.class);
    }

}
