소스 검색

荣耀推送

peng 1 년 전
부모
커밋
4b61f299a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -537,7 +537,7 @@ class PushObject:
                 "token": [token_val]
             }
             response = requests.post(push_url, json=push_data, headers=headers)
-            LOGGER.info("荣耀推送返回值:{}".format(response.json()))
+            LOGGER.info("uid{}时间{},荣耀推送返回值:{}".format(uid, n_time, response.json()))
             return True
         except Exception as e:
             LOGGER.info("荣耀推送异常:error_line:{},error_msg:{}".format(e.__traceback__.tb_lineno, repr(e)))