通知处理

This commit is contained in:
DDIsFriend
2023-09-13 10:58:41 +08:00
parent ae77bb509b
commit 206b0009bc
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class NotificationService: UNNotificationServiceExtension {
contentHandler(bestAttemptContent) contentHandler(bestAttemptContent)
}else{ }else{
// group // 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 { if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
}else{ }else{
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo) GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)
@@ -109,7 +109,7 @@ class NotificationService: UNNotificationServiceExtension {
contentHandler(bestAttemptContent) contentHandler(bestAttemptContent)
}else{ }else{
// group // 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 { if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
}else{ }else{
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo) GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)