Commit bf9585e1 authored by David黄金龙's avatar David黄金龙

删除 注册用户 第一次登录时的逻辑

parent d68fea25
...@@ -97,10 +97,6 @@ class YHCodeSueecssViewController: YHBaseViewController { ...@@ -97,10 +97,6 @@ class YHCodeSueecssViewController: YHBaseViewController {
if let phone = self.phoneNumber { if let phone = self.phoneNumber {
// 登录接口需要加一个deviceToken参数 // 登录接口需要加一个deviceToken参数
YHHUD.show(.progress(message: "登录中...")) YHHUD.show(.progress(message: "登录中..."))
if phone.contains("15818743775") { if phone.contains("15818743775") {
...@@ -180,15 +176,20 @@ class YHCodeSueecssViewController: YHBaseViewController { ...@@ -180,15 +176,20 @@ class YHCodeSueecssViewController: YHBaseViewController {
} else { } else {
YHLoginManager.shared.loginSuccessActionBlock?() YHLoginManager.shared.loginSuccessActionBlock?()
YHHUD.flash(message: "登录成功") YHHUD.flash(message: "登录成功")
if YHLoginManager.shared.userModel?.is_first_login == 1 {
let vc = YHUserInfoSettingViewController() //20240927版本 登录时 不需要 特殊处理注册用户
vc.modalPresentationStyle = .fullScreen // if YHLoginManager.shared.userModel?.is_first_login == 1 {
self.navigationController?.pushViewController(vc) // let vc = YHUserInfoSettingViewController()
} else { // vc.modalPresentationStyle = .fullScreen
// self.navigationController?.pushViewController(vc)
// } else {
// TXCommonHandler.sharedInstance().cancelLoginVC(animated: true)
// self.dismiss(animated: true)
// }
TXCommonHandler.sharedInstance().cancelLoginVC(animated: true) TXCommonHandler.sharedInstance().cancelLoginVC(animated: true)
self.dismiss(animated: true) self.dismiss(animated: true)
} }
}
}) })
} }
......
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 to comment