package com.ydl.ydlnet.builder.api

import com.ydl.ydlnet.builder.bean.BaseAPIResponse
import io.reactivex.Observable
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST

/**
 * Created by Ykai on 2021/3/15.
 */
interface NetApi {

    /**
     * 行为动作埋点统计
     */
    @Headers("Domain-Name:JAVA_BASE_URL")
    @POST("data/bigdata/maidian/writeMaiDianData")
    fun actionDataCount(@Body body: RequestBody): Observable<BaseAPIResponse<String>>
}