ITestHomeHttp.kt 654 Bytes
Newer Older
konghaorui committed
1 2
package com.yidianling.tests.home.http

konghaorui committed
3
import com.ydl.ydlcommon.data.http.BaseResponse
konghaorui committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
import com.yidianling.tests.home.bean.TestHomeDataBean
import com.yidianling.tests.home.param.TestHomeParam
import io.reactivex.Observable

/**
 * @author yuanwai
 * @描述:
 * @Copyright Copyright (c) 2018
 * @Company 壹点灵
 * @date 2018/7/26
 */
interface ITestHomeHttp{
    /**
     * 测评首页请求
     */
    fun newHomeRequest(testHomeParam: TestHomeParam): Observable<BaseResponse<List<TestHomeDataBean>>>

    /**
     * 每日精选--换一批
     */
    fun dailyChange(testHomeParam: TestHomeParam): Observable<BaseResponse<TestHomeDataBean>>
}