# --- test 2006 删除指定车辆 ---
url = 'http://58.34.94.177:29101/v6/api'
data = {
'code': 2006, # 接口号
'uuid': '65dbe96949fbe311a3a01d30', # 车辆id(必须项)
}
response = requests.post(url=url, json=data, headers={'authorization': token})
print(response.json())
# --- test 2007 获取指定作业车辆详情 ---
url = 'http://58.34.94.177:29101/v6/api'
data = {
'code': 2007, # 接口号
'uuid': '65de9fa044b74ae33732d811', # 车辆id(必须项)
}
response = requests.post(url=url, json=data, headers={'authorization': token})
print(response.json())
# --- test 1005 启用指定用户 ---
url = 'http://58.34.94.177:29101/v6/api'
data = {
'code': 1005, # 接口号
'uuid': '65decb7744b74ae33732d813', # 用户id(必须项)
}
response = requests.post(url=url, json=data, headers={'authorization': token})
print(response.json())
# --- test 1006 获取指定用户详情 ---
url = 'http://58.34.94.177:29101/v6/api'
data = {
'code': 1006, # 接口号
'uuid': '65decb7744b74ae33732d813', # 用户id(必须项)
}
response = requests.post(url=url, json=data, headers={'authorization': token})
print(response.json())
# --- test 3002 下载指定驾驶人员操作日志 ---
url = 'http://58.34.94.177:29101/v6/api?code=3002'
response = requests.get(url=url)