修改聚合订单音频的键值

This commit is contained in:
DDIsFriend
2024-01-16 14:16:56 +08:00
parent 6e2cf37e8c
commit f973b8745a
5 changed files with 7 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ class NotificationService: UNNotificationServiceExtension {
let juheVehcileName = userInfo[pushNoti_juheVehcileName_key] as? String
if juheVehcileName?.isEmpty == false {
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: juheNewOrderAudio_key))
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newJuheOrderAudio_key))
}else{
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newOrderAudio_key))
}
@@ -98,7 +98,7 @@ class NotificationService: UNNotificationServiceExtension {
let juheVehcileName = userInfo[pushNoti_juheVehcileName_key] as? String
if juheVehcileName?.isEmpty == false {
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: juheNewOrderAudio_key))
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newJuheOrderAudio_key))
}else{
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newOrderAudio_key))
}