Commit 5e219e64 authored by Steven杜宇's avatar Steven杜宇

// 登出

parent aec821c3
......@@ -118,6 +118,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
[weak self] success, error in
guard let self = self else { return }
YHHUD.hide()
if success {
DispatchQueue.main.async {
YHHUD.flash(message: "退出成功")
YHLoginManager.shared.clearUserInfo()
......@@ -127,6 +128,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
self.navigationController?.popViewController(animated: true)
}
return
}
}
}
}
......
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