package com.ym.klccy

import com.ym.modulecommon.net.Response
import com.ym.klccy.NetConfig.URL_DEVEICE_LOGIN_
import com.ym.klccy.NetConfig.URL_USER_GET_USERINFO_
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.POST

/**
 * Created by Antonio on 2019/5/15.
 */
interface IUserApi {

    /**
     * 游客登录
     *
     * @return
     */
    @POST(URL_DEVEICE_LOGIN_)
    fun deveiceLogin(): Observable<Response<UserInfoEntity>>

    /**
     * 获取用户资料
     * @return
     */
    @GET(URL_USER_GET_USERINFO_)
    fun getUserInfo(): Observable<Response<UserInfoEntity>>



}