Commit 7a76dbee authored by pete谢兆麟's avatar pete谢兆麟

Merge branch '630-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into 630-dev

parents 879f6f74 bdee7265
...@@ -107,8 +107,13 @@ extension YHOneKeyLoginManager { ...@@ -107,8 +107,13 @@ extension YHOneKeyLoginManager {
YHHUD.hide() YHHUD.hide()
if success { if success {
YHLoginManager.shared.loginSuccessActionBlock?() YHLoginManager.shared.loginSuccessActionBlock?()
YHHUD.flash(message: "登录成功") if YHLoginManager.shared.userModel?.is_first_login == 1 {
TXCommonHandler.sharedInstance().cancelLoginVC(animated: true) let vc = YHUserInfoSettingViewController()
vc.modalPresentationStyle = .fullScreen
UIViewController.current?.navigationController?.pushViewController(vc)
} else {
TXCommonHandler.sharedInstance().cancelLoginVC(animated: true)
}
return return
} }
if let err = error { if let err = error {
......
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