IHotSearchHttp.kt 849 Bytes
Newer Older
1 2 3 4
package com.yidianling.consultant.http.hotsearch

import com.ydl.ydlcommon.data.http.BaseAPIResponse
import com.yidianling.consultant.bean.HotSearchBean
upwork.021 committed
5
import com.yidianling.consultant.bean.SearchWordsBean
6
import com.yidianling.consultant.model.bean.FunctionWordBean
7 8 9 10 11 12 13 14 15
import io.reactivex.Observable

/**
 * @author yuanwai
 * @描述:
 * @Copyright Copyright (c) 2018
 * @Company 壹点灵
 * @date 2018/7/26
 */
16
interface IHotSearchHttp {
17
    /**
upwork.021 committed
18
     * 搜索页请求
19 20
     */
    fun searchData(): Observable<BaseAPIResponse<HotSearchBean>>
upwork.021 committed
21

22 23 24
    /**
     * 搜索页请求热门词
     */
霍志良 committed
25
    fun searchHotWordData(map: HashMap<String, Any>): Observable<BaseAPIResponse<MutableList<FunctionWordBean>>>
26

upwork.021 committed
27 28 29
    /**
     * 搜索联想词请求
     */
30
    fun getSearchWords(map: HashMap<String, Any>): Observable<BaseAPIResponse<SearchWordsBean>>
31
}