package com.common.lib_base.common.service;

import com.common.lib_base.bean.StringResultBean;
import com.common.lib_base.common.http.bean.BaseBean;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

public interface UploadFileApi {

    @Multipart
    @POST("/oss/upload")
    Observable<BaseBean<StringResultBean>> uploadImage(@Part MultipartBody.Part file);
}
