chenjunkai 6 年之前
父节点
当前提交
d779fde111
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Controller/DetectController.py

+ 1 - 2
Controller/DetectController.py

@@ -287,8 +287,7 @@ class NotificationView(View):
 
         # push.notification = jpush.notification(alert="Hello, JPush!", android=android)
         # push.notification = jpush.message(msg_content=push_data, extras=push_data)
-        push.message = jpush.message('Motion', extras=push_msg, title='KPNS', content_type='text')
-        # push.message = jpush.message('Motion', extras=push_data, title='KPNS', content_type='text')
+        push.message = jpush.message('Motion', extras=push_data, title='KPNS', content_type='text')
         push.platform = jpush.all_
         try:
             res = push.send()