package com.uiuipad.appstore.network.api;

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

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface ApplyForInstallApi {
    @FormUrlEncoded
    @POST(UrlAddress.APPLY_FOR_INSTALL)
    Observable<BaseResponse> applyForInstall(
            @Field("package") String packageName,
            @Field("app_name") String app_name,
            @Field("sn") String sn
    );
}
