|
@@ -245,7 +245,7 @@ class PushObject:
|
|
'Authorization': 'key={}'.format(app_secret)
|
|
'Authorization': 'key={}'.format(app_secret)
|
|
}
|
|
}
|
|
response = requests.post(url, data=data, headers=headers)
|
|
response = requests.post(url, data=data, headers=headers)
|
|
- logger.info("移动侦测V2接口参数:{}".format(response.json()))
|
|
|
|
|
|
+ logger.info("小米推送返回值:{}".format(response.json()))
|
|
assert response.status_code == 200
|
|
assert response.status_code == 200
|
|
except Exception as e:
|
|
except Exception as e:
|
|
return repr(e)
|
|
return repr(e)
|