Prechádzať zdrojové kódy

vovi增加消息推送异常打印

zhangdongming 9 mesiacov pred
rodič
commit
75fda5fdd2
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      Service/PushService.py

+ 1 - 0
Service/PushService.py

@@ -358,6 +358,7 @@ class PushObject:
             app_secret = VIVOPUSH_CONFIG[app_bundle_id]['Secret']
             sender = APISender(app_secret)
             rec = sender.get_token(app_id, app_key)
+            LOGGER.info(f'vivo_rec:{rec}')
             # 鉴权接口调用获得authToken
             sender_send = APISender(app_secret)
             sender_send.set_token(rec['authToken'])