修复了自动登录失败 无法登出的问题
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
}
|
||||
|
||||
- (void)tokenInvalid {
|
||||
|
||||
LoginViewController *loginVC = [[LoginViewController alloc] init];
|
||||
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:loginVC];
|
||||
nav.modalPresentationStyle = UIModalPresentationFullScreen;
|
||||
|
@@ -38,7 +38,9 @@ static NSString * kUpdateVersionNum = @"kUpdateVersionNum";
|
||||
NSString *ticket = [tickets[0] valueForKey:@"ticket"];
|
||||
[[AccountInfoStorage instance] saveTicket:ticket];
|
||||
[[self getView] autoLoginSuccess];
|
||||
}] access_token:accountModel.access_token issue_type:@"multi"];
|
||||
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||
[self logout];
|
||||
} errorToast:NO] access_token:accountModel.access_token issue_type:@"multi"];
|
||||
}
|
||||
|
||||
- (void)loginNIM {
|
||||
|
Reference in New Issue
Block a user