package com.cooleshow.usercenter.service

import com.cooleshow.usercenter.bean.UserLoginInfo
import io.reactivex.rxjava3.core.Observable


/*
    用户模块 业务接口
 */
interface UserService {

    //用户注册
    fun register(mobile:String,pwd:String,verifyCode:String): Observable<Boolean>

    //用户登录
    fun login(mobile:String,pwd:String,pushId:String):Observable<UserLoginInfo>

    //忘记密码
//    fun forgetPwd(mobile:String,verifyCode:String):Observable<Boolean>
//
//    //重置密码
//    fun resetPwd(mobile:String,pwd:String):Observable<Boolean>
//
//    //编辑用户资料
//    fun editUser(userIcon:String,userName:String,userGender:String,userSign:String):Observable<UserInfo>
}
