|
@@ -287,7 +287,8 @@ 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_data, title='KPNS', content_type='text')
|
|
|
+ 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.platform = jpush.all_
|
|
|
try:
|
|
|
res = push.send()
|