locky 7 місяців тому
батько
коміт
f84a4991ef
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      Service/DevicePushService.py

+ 1 - 0
Service/DevicePushService.py

@@ -699,6 +699,7 @@ class DevicePushService:
             }
             response = requests.post(url, data=data, headers=headers)
             if response.status_code == 200:
+                LOGGING.info('uid:{},时间:{}小米推送结果:{}'.format(uid, n_time, response.json()))
                 return True
             ERROR_INFO_LOGGER.info('小米推送异常,uid:{},状态码{},时间:{},结果:{},'
                                    .format(uid, response.status_code, n_time, response.json()))