IConfideHomeHttp.kt 885 Bytes
Newer Older
洪国微 committed
1 2
package com.ydl.confide.home.http

洪国微 committed
3
import com.ydl.confide.home.bean.ConfideConnectResponse
洪国微 committed
4
import com.ydl.confide.home.bean.ConfideHomeDataBean
洪国微 committed
5
import com.ydl.confide.home.bean.ConnectParamJava
洪国微 committed
6 7 8 9 10 11 12 13 14 15
import com.ydl.ydlcommon.data.http.BaseAPIResponse
import io.reactivex.Observable

/**
 * @author yuanwai
 * @描述:倾诉首页请求接口
 * @Copyright Copyright (c) 2018
 * @Company 壹点灵
 * @date 2018/7/26
 */
刘鹏 committed
16
interface IConfideHomeHttp {
洪国微 committed
17 18 19 20 21 22 23 24
    /**
     * 倾诉首页请求
     */
    fun confideHomeRequest(): Observable<BaseAPIResponse<MutableList<ConfideHomeDataBean>>>

    /**
     * 为你推荐列表
     */
刘鹏 committed
25
    fun recommendList(param: ConfideRecommendParam): Observable<BaseAPIResponse<ConfideHomeDataBean>>
洪国微 committed
26 27

    //倾诉链接,java接口,支持axb和声网
刘鹏 committed
28
    fun connectionJava(connectParam: ConnectParamJava): Observable<BaseAPIResponse<ConfideConnectResponse>>
洪国微 committed
29
}