Skip to content

Commit 243ed65

Browse files
committed
统一退出到 setupIntroductionViewController
1 parent 0ccbdc3 commit 243ed65

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Coding_iOS/AppDelegate.h

100755100644
File mode changed.

Coding_iOS/Controllers/RootControllers/BaseViewController.m

+1-1
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) setupLoginViewController];
351+
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupIntroductionViewController];
352352
}
353353

354354
@end

Coding_iOS/Util/OC_Category/NSObject+Common.m

+1-1
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) {//用户未登录
261261
[Login doLogout];
262-
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupLoginViewController];
262+
[((AppDelegate *)[UIApplication sharedApplication].delegate) setupIntroductionViewController];
263263
}
264264
}
265265
return error;

0 commit comments

Comments
 (0)