|
|
|
@ -11,7 +11,8 @@
@@ -11,7 +11,8 @@
|
|
|
|
|
#import "PPGetAddressBook.h" |
|
|
|
|
#import "ChatViewController.h" |
|
|
|
|
#import "MessageViewController.h" |
|
|
|
|
|
|
|
|
|
#import "ReadFlowerViewController.h" |
|
|
|
|
#import "SchAndJobMessageViewController.h" |
|
|
|
|
|
|
|
|
|
#define kMusicTime 20 |
|
|
|
|
#define videoTimerCount 3 |
|
|
|
@ -330,6 +331,22 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
@@ -330,6 +331,22 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
|
|
|
|
|
}]; |
|
|
|
|
return ; |
|
|
|
|
} |
|
|
|
|
if([msgType isEqualToString:@"redFlower"]) |
|
|
|
|
{ |
|
|
|
|
ReadFlowerViewController *vc = [[ReadFlowerViewController alloc] init]; |
|
|
|
|
vc.selectedIndex = [msgDic[@"rewardName"] isEqualToString:APIManager.sharedManager.deviceModel.name] ? 0 : 1; |
|
|
|
|
[[UICommon currentVC].navigationController pushViewController:vc animated:YES]; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if([msgType isEqualToString:@"XYTZ"] || [msgType isEqualToString:@"ZYTZ"]) |
|
|
|
|
{ |
|
|
|
|
SchAndJobMessageViewController *vc = [[SchAndJobMessageViewController alloc] init]; |
|
|
|
|
vc.navTitle = [msgType isEqualToString:@"XYTZ"] ? @"校园通知" : @"作业通知"; |
|
|
|
|
vc.viewType = [msgType isEqualToString:@"ZYTZ"] ? 0 : 1; |
|
|
|
|
[[UICommon currentVC].navigationController pushViewController:vc animated:YES]; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//lowBattery rail sms sos photograph 提醒消息 |
|
|
|
|
//checkResults checkedResults 关注消息 |
|
|
|
|
//identityTransfer identityTransfered systemUpdate 系统消息 |
|
|
|
@ -354,6 +371,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
@@ -354,6 +371,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
|
|
|
|
|
if([msgType isEqualToString:@"CostFlow"]){ |
|
|
|
|
selectIndex = 3; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 跳转 消息中心页面 |
|
|
|
|
if(![msgType isEqualToString:@"photograph"]) |
|
|
|
|
{ |
|
|
|
|