Commit 879748ad authored by David黄金龙's avatar David黄金龙

一处 检查登录状态

parent a718e1a2
......@@ -92,8 +92,14 @@ private extension YHHomeBannerView {
//我的
goTabBarBy(tabType: .mine)
} else if tabBarName.contains("invitation_with_gifts",caseSensitive: false) {
let vc = YHInvitationWithGiftsViewController()
UIViewController.current?.navigationController?.pushViewController(vc)
if YHLoginManager.shared.isLogin() {
let vc = YHInvitationWithGiftsViewController()
UIViewController.current?.navigationController?.pushViewController(vc)
} else {
YHOneKeyLoginManager.shared.oneKeyLogin()
}
} 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 to comment