|
@@ -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()))
|