Commit 4b93d144 authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent ba53b7da
...@@ -52,7 +52,7 @@ url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url17") ...@@ -52,7 +52,7 @@ url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url17")
requests_body = [packagingId] requests_body = [packagingId]
# 发送请求 # 发送请求
result = requests.post(url, json=files, headers=headers) result = requests.post(url, json=requests_body, headers=headers)
# 获取接口响应时间 # 获取接口响应时间
api_time = float(result.elapsed.total_seconds()) api_time = float(result.elapsed.total_seconds())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment