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 QueryPackageApp {
    @GET(UrlAddress.GET_PACKAGE_APP)
    Observable<BaseResponse<AppInfo>> getPackageApp(
            @Query("packageName") String packageName,
            @Query("versionCode") long versionCode
    );
}
