登录P层

package movie.bw.com.week3moni.persenter;

import java.util.HashMap;

import io.reactivex.Observable;
import movie.bw.com.week3moni.core.DataCall;
import movie.bw.com.week3moni.model.IRquest;

public class LoginPersenter extends BasePersenter{
public LoginPersenter(DataCall dataCall) {
super(dataCall);
}

@Override
protected Observable LoginModel(IRquest iRquest, Object... args) {
    return iRquest.login((HashMap<String,String>)args[0]);
}

@Override
protected Observable RegModel(IRquest iRquest, Object... args) {
    return iRquest.register((HashMap<String,String>)args[0]);
}

}

上一篇:内置函数filter()


下一篇:(六)Hive的高级操作