Kaynağa Gözat

谷歌追加打印

peng 1 yıl önce
ebeveyn
işleme
1600155421
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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