IExpertSearchHttp.kt 1.12 KB
Newer Older
1 2 3
package com.yidianling.consultant.http

import com.ydl.ydlcommon.data.http.BaseAPIResponse
4
import com.yidianling.consultant.bean.ExpertSearchTopShowBean
upwork.021 committed
5
import com.yidianling.consultant.bean.SearchWordsBean
upwork.021 committed
6
import com.yidianling.consultant.model.bean.ExpertBean
7 8 9 10 11 12 13 14 15 16 17 18 19
import io.reactivex.Observable

/**
 * @author yuanwai
 * @描述:专家搜索页请求接口
 * @Copyright Copyright (c) 2018
 * @Company 壹点灵
 * @date 2018/12/11
 */
interface IExpertSearchHttp{
    /**
     * 专家搜索页请求
     */
upwork.021 committed
20 21
//    fun searchDoctor(params : String?): Observable<BaseAPIResponse<ExpertSearchBean>>

upwork.021 committed
22 23 24 25 26
    /**
     * 获取搜索联想词
     */
//    fun getSearchWords(map:Map<String,Any>): Observable<BaseAPIResponse<SearchWordsBean>>

upwork.021 committed
27 28 29 30
    /**
     * 获取专家列表
     */
    fun getExpertList(map:Map<String,Any>): Observable<BaseAPIResponse<ExpertBean>>
31 32

    /**
33
     * 获取当前筛选条件结果数
34
     */
35
    fun getFilterCount(params:String?): Observable<BaseAPIResponse<Int>>
36 37

    /**
38
     * 获取大咖专区和顶部推荐数据数据
39
     */
40 41
    fun getBigShotData(): Observable<BaseAPIResponse<ExpertSearchTopShowBean>>

42
}