package com.ym.library.net

import com.ym.library.module.*
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Query

/**
 * Created by gaoleichao on 2020-06-08
 */

interface IAdApi {
    /**
     * 根据广告位获取广告列表
     *
     * @param slotId
     * @return
     */
    @GET(NetConfig.Ad.URL_AD_GET_STATUS)
    fun getAdStatus(@Query("slot_id") slotId: String?, @Query("sid") sid: Int, @Query("url") url: String, @Query("md5") md5: String): Observable<Response<AdStatusEntity>>



}