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