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.POST;

public interface DownloadApp {
    @FormUrlEncoded
    @POST(UrlAddress.SEND_DOWNLOADAPP)
    Observable<BaseResponse>sendDownloadApp(
            @Field("package_name")String package_name,
            @Field("app_size")long app_size,
            @Field("sn")String sn,
            @Field("userId")int userId
    );
}
