package com.uiui.zyappstore.network.api;



import com.uiui.zyappstore.bean.AppInfo;
import com.uiui.zyappstore.bean.BaseResponse;
import com.uiui.zyappstore.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
    );
}
