package com.uiuipad.appstore.network.api;

import com.uiuipad.appstore.bean.AppInfo;
import com.uiuipad.appstore.bean.BaseResponse;
import com.uiuipad.appstore.network.UrlAddress;

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

public interface NewestAppUpdate {
    @GET(UrlAddress.GET_NEWESTAPPUPDATE)
    Observable<BaseResponse<AppInfo>> getAppUpdate(
            @Query("packageName") String packageName,
            @Query("versionCode") String versionCode,
            @Query("type") int type
    );
}
