package com.jimind.sportdemo.api;


import com.jimind.sportdemo.base.ResponseResult;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * request api
 *
 * @author Any
 */
public interface RequestService {

    /**
     * 启动播放
     *
     * @param type
     * @param v1
     * @param v2
     * @return
     */
    @GET("Command?")
    Observable<ResponseResult> sendCommand(@Query("type") String type,
                                         @Query("v1") String v1,
                                         @Query("v2") String v2);

}
