|
@@ -180,10 +180,10 @@ class PushObject:
|
|
'default_light_settings': True,
|
|
'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
|
|
return True
|
|
except Exception as e:
|
|
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
|
|
return False
|
|
|
|
|
|
@staticmethod
|
|
@staticmethod
|