报备推送

This commit is contained in:
ddisfriend
2025-06-24 17:40:25 +08:00
parent 53c935e764
commit cb2faafb37
3 changed files with 27 additions and 6 deletions

View File

@@ -51,6 +51,16 @@ open class GroupData {
return false
}
//
func isReportIndexPushNotification(userInfo:[AnyHashable:Any]?) -> Bool {
if let userInfo {
if let dict = parserAlertToDictionary(userInfo: userInfo), dict[pushNoti_pushType_key] == "10" {
return true
}
}
return false
}
//
func parserBroadcastToString(userInfo:[AnyHashable:Any]?) -> String? {
if let broadcastKeywords = (userInfo?[pushNoti_broadcastKeywords_key] as? String),broadcastKeywords.isEmpty == false {