diff --git a/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.h b/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.h index b36bc92a..2eb0866d 100644 --- a/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.h +++ b/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.h @@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN @interface LoginFullInfoPresenter : BaseMvpPresenter /// 获取保存的第三方的数据模型 -+ (ThirdUserInfo * __nullable)getThirdUserInfo; +- (ThirdUserInfo *)getThirdUserInfo; /// 随机获取昵称 - (void)randomRequestNick; diff --git a/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.m b/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.m index 4e2311b7..d340eaed 100644 --- a/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.m +++ b/xplan-ios/Main/Login/Presenter/LoginFullInfoPresenter.m @@ -22,7 +22,7 @@ /// 获取保存的第三方的数据模型 -+ (ThirdUserInfo * __nullable)getThirdUserInfo { +- (ThirdUserInfo *)getThirdUserInfo { if ([AccountInfoStorage instance].thirdUserInfo) { return [AccountInfoStorage instance].thirdUserInfo; } diff --git a/xplan-ios/Main/Login/View/LoginFullInfoViewController.m b/xplan-ios/Main/Login/View/LoginFullInfoViewController.m index 8036a8e7..0c761a42 100644 --- a/xplan-ios/Main/Login/View/LoginFullInfoViewController.m +++ b/xplan-ios/Main/Login/View/LoginFullInfoViewController.m @@ -15,6 +15,7 @@ #import "UIImage+Utils.h" #import "UIButton+EnlargeTouchArea.h" #import "StatisticsServiceHelper.h" +#import "AccountInfoStorage.h" ///Model #import "ThirdUserInfo.h" ///P @@ -203,6 +204,8 @@ - (void)complementInfoSuccess { [StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventLoginRepariSuccess]; + ///需要重新加载一次 ticket 刷新tabbar的item + [[AccountInfoStorage instance] saveTicket:nil]; UIViewController *vc = self.presentingViewController; while (vc.presentingViewController) { vc = vc.presentingViewController;