package com.gingersoft.gsa.cloud.common.config.globalconfig.applyOptions;

import android.content.Context;
import com.gingersoft.gsa.cloud.common.BuildConfig;
import com.gingersoft.gsa.cloud.common.config.OkHttpConfig;
import com.jess.arms.di.module.ClientModule;

import java.io.File;
import java.util.concurrent.TimeUnit;

import me.jessyan.progressmanager.ProgressManager;
import me.jessyan.retrofiturlmanager.RetrofitUrlManager;
import okhttp3.Cache;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;


public class MyRetrofitConfiguration implements ClientModule.RetrofitConfiguration {
    @Override
    public void configRetrofit(Context context, Retrofit.Builder builder) {
        // 配置多BaseUrl支持
//        OkHttpClient.Builder clientBuilder = new OkHttpClient.Builder();
//        if (BuildConfig.DEBUG) {
////            clientBuilder.addInterceptor(new LoggingInterceptor());//使用自定义的Log拦截器
//        }
    }
}
