package com.cooleshow.base.data.api;

import com.cooleshow.base.bean.UpdateAppBean;
import com.cooleshow.base.data.net.BaseResponse;

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

import static com.cooleshow.base.common.BaseConstant.ADMIN_GROUP;
import static com.cooleshow.base.common.BaseConstant.AUTH_GROUP;

/**
 * Author by pq, Date on 2022/7/14.
 */
public interface AppVersionApi {

    @GET(ADMIN_GROUP + "appVersionInfo/queryByPlatform")
    Observable<BaseResponse<UpdateAppBean>> queryByPlatform(@Query("platform") String platfrom);
}
