tianyi 4 days ago
parent
commit
fd5cd13c8d
  1. 4
      App.vue

4
App.vue

@ -141,6 +141,8 @@
if(result.notificationEventType == 'notificationArrived'){
if (result.content.includes('订单出餐已超时')) {
this.onPlayAudio(2)
} else if (result.content.includes('您有一笔配送订单无人接单')){
this.onPlayAudio(5)
} else {
if (result.content.includes('您有一笔新的订单')) {
this.onPlayAudio(4)
@ -250,6 +252,8 @@
audio.src = 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/3ced308cf72348a3adeb07d003ced5f3.mp3';
} else if (type == 4) { //
audio.src = 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/c60ef3944e58461fbe7ce23ae38c70a2.mp3';
} else if(type == 5){ //
audio.src = 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/e41404ed7c964ec4a203f0a7404585af.mp3';
}
// #endif

Loading…
Cancel
Save