Casper 1 tydzień temu
rodzic
commit
97a7f1c07e

+ 1 - 1
sri-server-bg01/test/test-1000.py

@@ -124,7 +124,7 @@ print(response.json())
 # data = {
 #     'code': 1007,  # 接口号
 #     'uuid': '65dd775c44b74ae33732d7f7',  # 用户id(必须项)
-#     # 'username': 'aabbcc',  # 登录账户(必须项)
+#     # 'username': 'aabbcc',  # 登录账户(可选项)
 #     # 'password': 'aabbcc',  # 登录密码(可选项)(默认值:baosteel@2024)
 #     # 'role_type': 3,  # 角色类型(可选项)(1: 超级管理员 2: 普通管理员 3: 普通用户)
 #     'name': 'aabbcc',  # 姓名(可选项)

+ 2 - 2
sri-server-bg01/test/test-3000.py

@@ -47,8 +47,8 @@ print(response.json())
 # --- test 3002 下载指定驾驶人员操作日志 ---
 url = 'http://58.34.94.177:29101/v6/api'
 params = {
-    'code': 3002,
-    'uuid': '65dbe96949fbe311a3a01d30',
+    'code': 3002,  # 接口号
+    'uuid': '65dbe96949fbe311a3a01d30',  # 日志id
 }
 response = requests.get(url=url, params=params, headers={'authorization': token})
 print(response.text)