package movie.bw.com.week3moni.model;
import java.util.HashMap;
import java.util.List;
import io.reactivex.Observable;
import movie.bw.com.week3moni.bean.Data;
import movie.bw.com.week3moni.bean.Result;
import movie.bw.com.week3moni.bean.Show;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
public interface IRquest {
@FormUrlEncoded
@POST("user/v1/login")
Observable<Result<Data>> login(@FieldMap HashMap<String,String>map);
@FormUrlEncoded
@POST("user/v1/register")
Observable<Result> register(@FieldMap HashMap<String,String>map);
@GET("order/verify/v1/findShoppingCart")
Observable<Result<List<Show>>> findShoppingCart(@Header("userId")String userId,@Header("sessionId")String sessionId);
}