|
@@ -103,13 +103,21 @@
|
|
- (void)onKickedOffline {
|
|
- (void)onKickedOffline {
|
|
// 被踢下线
|
|
// 被踢下线
|
|
NSLog(@"----- 被踢下线");
|
|
NSLog(@"----- 被踢下线");
|
|
|
|
+#ifdef DEBUG
|
|
|
|
+
|
|
|
|
+#else
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
- (void)onUserSigExpired {
|
|
- (void)onUserSigExpired {
|
|
// 在线时票据过期
|
|
// 在线时票据过期
|
|
NSLog(@"----- 票据过期");
|
|
NSLog(@"----- 票据过期");
|
|
|
|
+#ifdef DEBUG
|
|
|
|
+
|
|
|
|
+#else
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:@"otherLogin" object:nil];
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
#pragma mark ----
|
|
#pragma mark ----
|