u净 设备 access 空闲
import requests
headers = {
'Host': 'phoenix.ujing.online',
'authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBVc2VySWQiOjI2ODQwMzU0LCJleHAiOjE3MTg2ODUyNTQsImlhdCI6MTcxMDY1MDA1NCwiaWQiOjM3MzI3Mzg3LCJuYW1lIjoiMTc2Mjg4MTgwMDcifQ.913YgdVAXa2CpPTy0ZDe4uSU2_rmWae-V9eSDKcjrhk',
'x-mobile-brand': 'Xiaomi',
'x-app-code': 'BA',
'content-type': 'application/json; application/json',
'weex-version': '1.1.39',
'x-app-version': '2.4.7',
'x-mobile-model': 'MI CC 9e',
'user-agent': 'okhttp/4.3.1',
}
params = {
'lat': '31.781257',
'lont': '104.722751',
'page': '1',
'size': '10',
'scope': '2000',
'mode': 'BA',
}
response = requests.get('https://phoenix.ujing.online/api/v1/stores/near', params=params, headers=headers)
print(response.text)
import requests
headers = {
'Host': 'phoenix.ujing.online',
'authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBVc2VySWQiOjI2ODQwMzU0LCJleHAiOjE3MTg2OTM4NDYsImlhdCI6MTcxMDY1ODY0NiwiaWQiOjM3MzI3Mzg3LCJuYW1lIjoiMTc2Mjg4MTgwMDcifQ.O57d8RDSIPiPMjujCOJy_kDk4pP4JPb6kOcNPyZfKBk',
'x-mobile-brand': 'Xiaomi',
'x-app-code': 'QA',
'weex-version': '1.0.14',
'x-app-version': '2.4.7',
'x-mobile-model': 'MI CC 9e',
'content-type': 'application/json; charset=utf-8',
# 'content-length': '39',
# 'accept-encoding': 'gzip',
# 'cookie': 'acw_tc=46584e69e6704d70326faa561c30589410c3faf879df2677554cfe0275ad3f64; acw_tc=b5d1fb8f9754db56830caa042106f70756ae7df3f15ad4b08dba5a1747dde946; acw_tc=dd343230f10c3b47c0647be29166f50f265a0ab12e193611382832f9d47a65d8',
'user-agent': 'okhttp/4.3.1',
}
data = {'washer':['62b409a508d91213947e6cc1']}
response = requests.post(
'https://phoenix.ujing.online/api/v1/app/commonality/store/getCommonUsedStoreDetail',
headers=headers,
json=data,
)
print(response.text)