@Override public void onSuccess(RspBodyCommonBean rsp) { cancleLoadingDialog(context, loadingDialog); if (rsp.getResultCode().equals(UrlManager.RSP_OK)) { repositoryUser.login(userPhone, userPwd, loginCallback); } else { showNoticeDialog(context, noticeDialog, rsp.getResDes()); } }
@Override public void onSuccess(RspBodyCommonBean rsp) { cancleLoadingDialog(context, loadingDialog); if (rsp.getResultCode().equals(UrlManager.RSP_OK)) { ToastUtils.showShort(context, rsp.getResDes()); } else { smsUtils.cancelTime(); showNoticeDialog(context, noticeDialog, rsp.getResDes()); } }