Parcourir la source

修改极关推送打印日志

linhaohong il y a 5 mois
Parent
commit
c993f49005
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -635,7 +635,7 @@ class PushObject:
             push.message = jpush.message(msg_content=msg_text, title=msg_title, extras=extra_data)
             push.platform = jpush.all_
             res = push.send()
-            LOGGER.info('极光透传,结果:{},参数:{}'.format(res, extra_data))
+            LOGGER.info('极光透传,结果:{},参数:{},令牌:{}'.format(res, extra_data, token_val))
         except Exception as e:
             LOGGER.info('jpush_transparent_transmission极光透传异常:errLine:{}, errMsg:{}, 参数:{}'.format(
                 e.__traceback__.tb_lineno, repr(e), extra_data))