Steven 6 months ago
parent
commit
e909b8e3af

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Common/Base/LoginManger/KSLoginManager.m

@@ -65,7 +65,7 @@
                     return;
                 }
             }
-            [APPLOGIN_MANAGER logoutActionWithMsg:@"登录过期,请重新登录"];
+            [self logoutActionWithMsg:@"登录过期,请重新登录"];
         }
     });
 }

+ 4 - 4
KulexiuForStudent/KulexiuForStudent/Common/Base/LoginManger/TXIMLinsenter.m

@@ -120,11 +120,11 @@
 - (void)onKickedOffline {
     // 被踢下线
     NSLog(@"----- 被踢下线");
-//#ifdef DEBUG
-//
-//#else
+#ifdef DEBUG
+
+#else
     [[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
-//#endif
+#endif
 }
 
 - (void)onUserSigExpired {