lang 3 年之前
父節點
當前提交
a2bb3574c7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/DetectControllerV2.py

+ 1 - 1
Controller/DetectControllerV2.py

@@ -923,7 +923,7 @@ class PWnotificationView(View):
                                    client_cert=os.path.join(BASE_DIR, APNS_CONFIG[appBundleId]['pem_path']))
 
             push_data = {"alert": "Motion ", "event_time": n_time, "event_type": event_type, "msg": "",
-                         "received_at": n_time, "sound": "sound.aif", "uid": uid, "zpush": "1", "channel": channel}
+                         "received_at": n_time, "sound": "default", "uid": uid, "zpush": "1", "channel": channel}
             alert = apns2.PayloadAlert(body=msg_text, title=msg_title)
             payload = apns2.Payload(alert=alert, custom=push_data)