推送的isshowpop适配

This commit is contained in:
ddisfriend
2025-06-25 13:19:31 +08:00
parent b485ccaf0c
commit f0519625f7
3 changed files with 13 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ class NotificationService: UNNotificationServiceExtension {
contentHandler(bestAttemptContent)
}else{
// group
if let isShowPop = (userInfo[pushNoti_isShowPop_key] as? Bool), isShowPop == true {
if GROUP.isShowPopPushNotification(userInfo: userInfo) == true {
if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
}else{
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)
@@ -101,7 +101,7 @@ class NotificationService: UNNotificationServiceExtension {
contentHandler(bestAttemptContent)
}else{
// group
if let isShowPop = (userInfo[pushNoti_isShowPop_key] as? Bool), isShowPop == true {
if GROUP.isShowPopPushNotification(userInfo: userInfo) == true{
if let userInfo = GROUP.bestAttemptContentUserInfo,GROUP.isOrderPushNotification(userInfo: userInfo) == true {
}else{
GROUP.setBestAttemptContentUserInfo(bestAttemptContentUserInfo: userInfo)