通知处理
This commit is contained in:
Binary file not shown.
@@ -54,7 +54,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
contentHandler(bestAttemptContent)
|
||||
}else{
|
||||
// 当group中没有订单类型的数据时才写入
|
||||
if let isShowPop = (userInfo[pushNoti_broadcastKeywords_key] as? Bool), isShowPop == true {
|
||||
if let isShowPop = (userInfo[pushNoti_isShowPop_key] as? Bool), isShowPop == true {
|
||||
if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
|
||||
}else{
|
||||
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)
|
||||
@@ -109,7 +109,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
contentHandler(bestAttemptContent)
|
||||
}else{
|
||||
// 当group中没有订单类型的数据时才写入
|
||||
if let isShowPop = (userInfo[pushNoti_broadcastKeywords_key] as? Bool), isShowPop == true {
|
||||
if let isShowPop = (userInfo[pushNoti_isShowPop_key] as? Bool), isShowPop == true {
|
||||
if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
|
||||
}else{
|
||||
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)
|
||||
|
||||
Reference in New Issue
Block a user