// Path: TigerVideo/src/main/java/cn/ittiger/video/http/service/NetEasyApi.java
// public interface NetEasyApi {
// 
//     @GET("recommend/getChanListNews?channel=T1457068979049&fn=3&passport=h3o88AuDhdH7tlyrE3hlILX2WMCoMqapk08GhEzPqX4%3D&devId=DWT861zlolJo7mHnyynnGA%3D%3D&version=15.0&net=wifi&ts=1474185450&sign=JmMhXTnPo%2BqgTgwyxKstDgS9lmS5Pv%2BUCP5tZ%2FrWevV48ErR02zJ6%2FKXOnxX046I&encryption=1")
//     Observable<String> getVideos(@Query("size") int size, @Query("offset") int offset);
// }
// 
// Path: TigerVideo/src/main/java/cn/ittiger/video/http/service/TtKbApi.java
// public interface TtKbApi {
// 
//     @Headers({/*"Content-Type: application/x-www-form-urlencoded;charset=UTF-8",*/
//               "Accept-Encoding: gzip",
//               "User-Agent: okhttp/3.2.0"})
//     @FormUrlEncoded
//     @POST("app_video/getvideos")
//     Observable<String> getVideos(@FieldMap Map<String, String> fieldMap);
// }


import cn.ittiger.video.http.service.IFengApi;
import cn.ittiger.video.http.service.NetEasyApi;
import cn.ittiger.video.http.service.TtKbApi;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.scalars.ScalarsConverterFactory;
import java.util.concurrent.TimeUnit;
package cn.ittiger.video.factory;



/**
 * @author laohu
 * @site http://ittiger.cn
 */
public class RetrofitFactory {

    private static final int TIME_OUT = 12;//超时时间
    private static final String NETEASY_BASE_URL = "http://c.m.163.com/";
    private static final String TTKB_BASE_URL = "http://video.toutiaokuaibao.com/";
    private static final String IFENG_BASE_URL = "http://vcis.ifeng.com/";
// Path: TigerVideo/src/main/java/cn/ittiger/video/http/service/NetEasyApi.java
// public interface NetEasyApi {
// 
//     @GET("recommend/getChanListNews?channel=T1457068979049&fn=3&passport=h3o88AuDhdH7tlyrE3hlILX2WMCoMqapk08GhEzPqX4%3D&devId=DWT861zlolJo7mHnyynnGA%3D%3D&version=15.0&net=wifi&ts=1474185450&sign=JmMhXTnPo%2BqgTgwyxKstDgS9lmS5Pv%2BUCP5tZ%2FrWevV48ErR02zJ6%2FKXOnxX046I&encryption=1")
//     Observable<String> getVideos(@Query("size") int size, @Query("offset") int offset);
// }
// 
// Path: TigerVideo/src/main/java/cn/ittiger/video/http/service/TtKbApi.java
// public interface TtKbApi {
// 
//     @Headers({/*"Content-Type: application/x-www-form-urlencoded;charset=UTF-8",*/
//               "Accept-Encoding: gzip",
//               "User-Agent: okhttp/3.2.0"})
//     @FormUrlEncoded
//     @POST("app_video/getvideos")
//     Observable<String> getVideos(@FieldMap Map<String, String> fieldMap);
// }


// Path: TigerVideo/src/main/java/cn/ittiger/video/factory/RetrofitFactory.java
import cn.ittiger.video.http.service.IFengApi;
import cn.ittiger.video.http.service.NetEasyApi;
import cn.ittiger.video.http.service.TtKbApi;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.scalars.ScalarsConverterFactory;
import java.util.concurrent.TimeUnit;

package cn.ittiger.video.factory;



/**
 * @author laohu
 * @site http://ittiger.cn
 */
public class RetrofitFactory {

    private static final int TIME_OUT = 12;//超时时间
    private static final String NETEASY_BASE_URL = "http://c.m.163.com/";
    private static final String TTKB_BASE_URL = "http://video.toutiaokuaibao.com/";
    private static final String IFENG_BASE_URL = "http://vcis.ifeng.com/";
    private static volatile NetEasyApi sNetEasyService;