修改聚合订单音频的键值
This commit is contained in:
Binary file not shown.
@@ -119,7 +119,7 @@ open class Tool {
|
||||
let juheVehcileName = userInfo?[pushNoti_juheVehcileName_key] as? String
|
||||
var auidoUrl : URL?
|
||||
if juheVehcileName?.isEmpty == false {
|
||||
auidoUrl = URL(string: Bundle.main.path(forResource: juheNewOrderAudio_key, ofType: nil) ?? "")
|
||||
auidoUrl = URL(string: Bundle.main.path(forResource: newJuheOrderAudio_key, ofType: nil) ?? "")
|
||||
}else{
|
||||
auidoUrl = URL(string: Bundle.main.path(forResource: newOrderAudio_key, ofType: nil) ?? "")
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public let pushNoti_confirmButtonText_key = "confirmButtonText"
|
||||
public let pushNoti_cancelButtonText_key = "cancelButtonText"
|
||||
|
||||
// 本地音频的键
|
||||
public let juheNewOrderAudio_key = "newJuheOrderAudio.wav"
|
||||
public let newJuheOrderAudio_key = "newJuheOrderAudio.wav"
|
||||
|
||||
public let newOrderAudio_key = "newOrderAudio.wav"
|
||||
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000189">
|
||||
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000177">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="1: gym" time="73.272336">
|
||||
<testcase classname="fastlane.lanes" name="1: gym" time="75.197299">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
<testcase classname="fastlane.lanes" name="2: pgyer" time="29.072191">
|
||||
<testcase classname="fastlane.lanes" name="2: pgyer" time="11.711155">
|
||||
|
||||
</testcase>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user