Skip to content

Commit c6095b5

Browse files
committed
退出登录是到登录页面,不到介绍页了
1 parent e7c9e53 commit c6095b5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Coding_iOS/Controllers/RootControllers/BaseViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ + (void)presentVC:(UIViewController *)viewController{
348348
#pragma mark Login
349349
- (void)loginOutToLoginVC{
350350
[Login doLogout];
351-
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupIntroductionViewController];
351+
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupLoginViewController];
352352
}
353353

354354
@end

Coding_iOS/Util/OC_Category/NSObject+Common.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ -(id)handleResponse:(id)responseJSON autoShowError:(BOOL)autoShowError{
259259

260260
if (resultCode.intValue == 1000 || resultCode.intValue == 3207) {//用户未登录
261261
[Login doLogout];
262-
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupIntroductionViewController];
262+
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupLoginViewController];
263263
kTipAlert(@"%@", [self tipFromError:error]);
264264
}
265265
}

0 commit comments

Comments
 (0)