소스 검색

谷歌追加打印

peng 1 년 전
부모
커밋
1600155421
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Service/PushService.py

+ 2 - 2
Service/PushService.py

@@ -180,10 +180,10 @@ class PushObject:
                                                                      'default_light_settings': True,
                                                                      },
                                                        )
-            LOGGER.info('fcm推送结果:{}'.format(result))
+            LOGGER.info('uid:{},evnet_type:{},time:{},fcm推送结果:{}'.format(uid, event_type, n_time, result))
             return True
         except Exception as e:
-            LOGGER.info('fcm推送异常:{}'.format(repr(e)))
+            LOGGER.info('uid:{},evnet_type:{},time:{},fcm推送异常:{}'.format(uid, event_type, n_time, repr(e)))
             return False
 
     @staticmethod