浏览代码

Merge remote-tracking branch 'remotes/origin/peng' into test

Ansjer 2 年之前
父节点
当前提交
25ab2a94bf
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Service/DevicePushService.py

+ 4 - 4
Service/DevicePushService.py

@@ -385,10 +385,10 @@ class DevicePushService:
         """
         url = 'https://api.xmpush.xiaomi.com/v3/message/regid'
         app_secret = XMPUSH_CONFIG[appBundleId]
-        payload = {'alert': 'Motion', 'msg': '', 'sound': 'sound.aif', 'zpush': '1',
-                   'received_at': n_time, 'event_time': n_time, 'event_type': event_type,
-                   'uid': uid, 'channel': channel
-                   }
+        # payload = {'alert': 'Motion', 'msg': '', 'sound': 'sound.aif', 'zpush': '1',
+        #            'received_at': n_time, 'event_time': n_time, 'event_type': event_type,
+        #            'uid': uid, 'channel': channel
+        #            }
         data = {
             'title': msg_title,
             'description': msg_text,