package com.bxzk.afxj.Model;

import com.bxzk.afxj.Entity.BaseResponse;
import com.bxzk.afxj.Entity.LoginBeanOut;
import com.bxzk.afxj.retrofit.ApiManager;
import com.bxzk.afxj.retrofit.ModelFilteredFactory;
import com.bxzk.afxj.util.CommonUtil;

import java.util.List;
import java.util.Map;

import javax.inject.Inject;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public class LoginModel {
    @Inject
    public LoginModel() {
    }

    public Observable<LoginBeanOut> login(String info) {
//        Observable<BaseResponse<LoginBeanOut>> register = ApiManager.getInstence().getYunxService().login(info);
        Observable<BaseResponse<LoginBeanOut>> register = null;
        Observable<LoginBeanOut> booleanObservable = ModelFilteredFactory.compose2(register);
        return booleanObservable;
    }


}
