|
@@ -522,12 +522,11 @@ class PushObject:
|
|
|
'received_at': n_time, 'event_time': n_time, 'event_type': str(event_type), 'nickname': nickname,
|
|
|
'uid': uid, 'channel': channel, 'title': msg_title, 'body': msg_text
|
|
|
}
|
|
|
- LOGGER.info('荣耀推送event_type:{}'.format(event_type))
|
|
|
+ LOGGER.info('荣耀推送event_type:{},token_val:{}'.format(event_type, token_val))
|
|
|
# 一键通话通知推送
|
|
|
if int(event_type) in [606, 607]:
|
|
|
push_data = {
|
|
|
"android": {
|
|
|
- "data": json.dumps(extra_data),
|
|
|
"notification": {
|
|
|
"body": msg_text,
|
|
|
"title": msg_title,
|