[6.8.2]
[fix] [获取验证码全日志]
This commit is contained in:
@@ -106,6 +106,7 @@ object LoginModel {
|
||||
OchChainLogManager.writeChainLog("登录页面","获取验证码 mContext${mContext}")
|
||||
}else {
|
||||
mContext?.let {
|
||||
OchChainLogManager.writeChainLog("登录页面","网络请求去获取验证码")
|
||||
OchCommonServiceManager.getPhoneCode(it, phone,
|
||||
object : OchCommonServiceCallback<BaseData> {
|
||||
override fun onSuccess(data: BaseData?) {
|
||||
|
||||
@@ -49,7 +49,9 @@ class LoginPresenter(view: LoginFragment?) : Presenter<LoginFragment?>(view), IT
|
||||
|
||||
|
||||
fun getPhoneCode(phone:String){
|
||||
OchChainLogManager.writeChainLog("登录页面","获取验证码${phone}")
|
||||
if(!LoginModel.hasInit()){
|
||||
OchChainLogManager.writeChainLog("登录页面","LoginModel没有初始化去初始化")
|
||||
initListeners()
|
||||
}
|
||||
if (!RegexUtils.isMobileExact(phone)) {
|
||||
|
||||
@@ -136,6 +136,7 @@ class LoginFragment : MvpFragment<LoginFragment?, LoginPresenter?>(), ILoginView
|
||||
continuousClick()
|
||||
}
|
||||
biz_actv_login_get_code.setOnClickListener {
|
||||
OchChainLogManager.writeChainLog("登录页面","点击获取验证码")
|
||||
if(mPresenter==null){
|
||||
OchChainLogManager.writeChainLog("司机登录页面","mPresenter=${mPresenter}")
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user