浏览代码

优化极光推送打印

peng 1 年之前
父节点
当前提交
bb3253a112
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -227,7 +227,7 @@ class PushObject:
             push.notification = jpush.notification(android=android)
             push.platform = jpush.all_
             res = push.send()
-            LOGGER.info("uid:{},time:{},极光推送返回值:{}".format(nickname, n_time, res.json()))
+            LOGGER.info("uid:{},time:{},极光推送返回值:{}".format(nickname, n_time, res))
             assert res.status_code == 200
             return True
         except Exception as e: