peng 1 år sedan
förälder
incheckning
15c59cf7c0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Object/TokenObject.py

+ 1 - 1
Object/TokenObject.py

@@ -120,7 +120,7 @@ class TokenObject:
                     # 请求推送
                     push_url = '{}transparent-transmission/logout-push'.format(DETECT_PUSH_DOMAINS)
                     result = requests.post(push_url, data={'push_token': data['tokenVal'], 'user_id': data['userID']})
-                    LOGGER.info('{}登出推送结果:{}'.format(data['userID'], result))
+                    LOGGER.info('{}登出推送结果:{}'.format(data['userID'], result.json()))
         except Exception as e:
             self.code = 309
             print(repr(e))