Browse Source

删除push_data的铃声

peng 1 year ago
parent
commit
c3e33aa0d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -159,7 +159,7 @@ class PushObject:
         try:
             serverKey = FCM_CONFIG[app_bundle_id]
             push_service = FCMNotification(api_key=serverKey)
-            push_data = {'alert': 'Motion', 'msg': '', 'sound': 'sound.aif', 'zpush': '1', 'image': image,
+            push_data = {'alert': 'Motion', 'msg': '', 'zpush': '1', 'image': image,
                          'received_at': n_time, 'event_time': n_time, 'event_type': event_type, 'nickname': nickname,
                          'uid': uid, 'channel': channel
                          }