app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/DomainItemService.kt
@@ -1,6 +1,7 @@
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
@@ -12,6 +13,18 @@
 */
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>>>>
}