|
@@ -1,3 +1,4 @@
|
|
|
+~~~
|
|
|
# --- test 2006 删除指定车辆 ---
|
|
|
url = 'http://58.34.94.177:29101/v6/api'
|
|
|
data = {
|
|
@@ -6,7 +7,9 @@ data = {
|
|
|
}
|
|
|
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 = {
|
|
@@ -15,7 +18,9 @@ data = {
|
|
|
}
|
|
|
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 = {
|
|
@@ -24,7 +29,9 @@ data = {
|
|
|
}
|
|
|
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 = {
|
|
@@ -33,7 +40,10 @@ data = {
|
|
|
}
|
|
|
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)
|
|
|
+response = requests.get(url=url)
|
|
|
+~~~
|