package cn.flightfeather.thirdappmodule.httpservice
|
|
import cn.flightfeather.thirdappmodule.bean.entity.Domainitem
|
import cn.flightfeather.thirdappmodule.model.bean.BaseResponse
|
import io.reactivex.Observable
|
import retrofit2.Response
|
import retrofit2.http.GET
|
import retrofit2.http.Query
|
|
/**
|
* @author riku
|
* Date: 2021/8/13
|
*/
|
interface DomainItemService {
|
|
/**
|
* 获取场景的问题位置集合
|
*/
|
@GET("domainitem/location")
|
fun getLocation(@Query("sceneType") sceneType: Int): Observable<Response<ArrayList<Domainitem>>>
|
|
/**
|
* 获取场景的任意拍图片分类
|
*/
|
@GET("domainitem/mediaFileType")
|
fun getMediaFileType(@Query("sceneType") sceneType: Int): Observable<Response<Map<String?, String?>>>
|
|
@GET("domainitem/name")
|
fun getItemByName(@Query("name") name: String): Observable<Response<BaseResponse<ArrayList<Domainitem>>>>
|
}
|