package com.bxzk.afxj.retrofit;



import com.bxzk.afxj.Entity.BaseResponse;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import retrofit2.http.Streaming;
import retrofit2.http.Url;

public interface MyRetrofitService {


    //app更新
    @GET("face-pay/face/version/upgrade")
    Observable<BaseResponse<String>> upgrade(@QueryMap Map<String,String> params);


    @Streaming
    @GET
    Observable<ResponseBody> download(@Url String url);

}
