登录优化

This commit is contained in:
liyuhua
2023-10-07 18:42:30 +08:00
parent 7dfc5a6569
commit c1de3b4b24
14 changed files with 78 additions and 88 deletions

View File

@@ -26,6 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,assign)BOOL isBindPhone;
@property (nonatomic,copy) NSString *ticket;
@property (nonatomic,assign) BOOL isGetUserInfoSuccess;
@property (nonatomic,assign) BOOL isRequestRicketSuccess;
@end
NS_ASSUME_NONNULL_END

View File

@@ -42,7 +42,8 @@
}
- (void)tokenInvalid {
[[NSNotificationCenter defaultCenter]postNotificationName:@"kLogout" object:nil];
XPLoginViewController *loginVC = [[XPLoginViewController alloc] init];
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:loginVC];
nav.modalPresentationStyle = UIModalPresentationFullScreen;