|
@@ -418,6 +418,7 @@ class DevicePushService:
|
|
|
}
|
|
|
response = requests.post(url, data=data, headers=headers)
|
|
|
if response.status_code == 200:
|
|
|
+ LOGGING.info('小米推送结果:{}'.format(response.json()))
|
|
|
return response.json()
|
|
|
|
|
|
@staticmethod
|
|
@@ -470,6 +471,7 @@ class DevicePushService:
|
|
|
|
|
|
response = requests.post(push_url, data=push_data, headers=headers)
|
|
|
if response.status_code == 200:
|
|
|
+ LOGGING.info("oppo推送返回值:{}".format(response.json()))
|
|
|
return response.json()
|
|
|
|
|
|
@classmethod
|