package com.ydl.ydlcommon.data.http

import io.reactivex.Observable
import okhttp3.RequestBody
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofit2.http.PartMap

/**
 * author : Zhangwenchao
 * e-mail : zhangwch@yidianling.com
 * time   : 2018/04/18
 */
interface YdlCommonApi {

    @POST("uc/log")
    @Multipart
    fun uploadLog(@PartMap params: MutableMap<String, RequestBody>): Observable<BaseResponse<Any>>

}