Commit 40fe6817 by pierce

提交调试信息

parent 08d7ff3f
......@@ -651,10 +651,6 @@ class LoginViewController: BaseViewController {
GDStatistics.track(.verifyCodeLogin)
let loginByPhoneVC = LoginByVerificationCodeViewController()
self?.navigationController?.pushViewController(loginByPhoneVC, animated: true)
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
let _ = GDAlertView.showAlertView(viewController: UIViewController.topViewController(), title: "测试弹窗", message: error?.localizedDescription)
}
}
}
}
......@@ -869,6 +865,10 @@ extension LoginViewController {
self.navigationController?.pushViewController(registerVC, animated: true)
default:
FTIndicator.showToastMessage(error.msg)
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
let _ = GDAlertView.showAlertView(viewController: UIViewController.topViewController(), title: "测试弹窗", message: error.localizedDescription)
}
}
}).disposed(by: self.disposeBag)
......
......@@ -28,7 +28,6 @@ class GDQuickVerifyHelper: BaseViewModel, FlyVerifyCPrivacyDelegate {
FlyVerifyC.agreePrivacy(true) { [weak self] success in
if success {
print("")
self?.preFetchPhoneNumber(completion: { _ in })
} else {
print("")
}
......@@ -40,10 +39,6 @@ class GDQuickVerifyHelper: BaseViewModel, FlyVerifyCPrivacyDelegate {
if error == nil {
// 成功
GDlog.info("秒验 preFetchPhoneNumber: \(String(describing: result?.convertToString()))")
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
let _ = GDAlertView.showAlertView(viewController: UIViewController.topViewController(), title: "测试弹窗", message: "\(String(describing: result?.convertToString()))")
}
completion("\(result?["operatorName"] ?? "")")
} else {
// 失败
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment