Parcourir la source

打印荣耀推送event_type

locky il y a 1 an
Parent
commit
1a77a72b3b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -522,7 +522,7 @@ 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))
             # 一键通话通知推送
             if int(event_type) in [606, 607]:
                 push_data = {