package net.huansi.app.checkcloth.api

import baseform.android.huansi.net.request.ApiDoc
import com.alibaba.fastjson.JSONObject
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.HTTP
import retrofit2.http.POST
import retrofit2.http.PUT
import retrofit2.http.Query
import retrofit2.http.Url

interface CommonApi {
    @ApiDoc("请求统计数据")
    @GET("node/flow_overview/report")
    fun requestStatisticsData(@Query("access_token") accessToken: String): Call<ResponseBody>

    @ApiDoc("请求优秀区")
    @GET("node/excellence/report")
    fun requestAreaData(
        @Query("access_token") accessToken: String,
        @Query("report_type") reportType: String
    ): Call<ResponseBody>

    @ApiDoc("请求节点汇总详情")
    @GET("node/pro_details/report")
    fun requestProDetails(@Query("access_token") accessToken: String): Call<ResponseBody>

    @ApiDoc("请求各品牌堵点")
    @GET("node/brand_obstruction/report")
    fun requestBrandList(@Query("access_token") accessToken: String): Call<ResponseBody>
}