package com.uiui.zyappstore.network.api;

import com.uiui.zyappstore.bean.BaseResponse;
import com.uiui.zyappstore.network.UrlAddress;

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

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
    );
}
