Commit 5da7332a authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 70ffb104
......@@ -48,9 +48,9 @@ request_body = commonFuc().get_business_data(module, "payload31", id)
result = requests.get(url, params=request_body, headers=headers)
result = json.loads(result.content)
# 获取接口响应时间
api_time = float(result.elapsed.total_seconds())
# api_time = float(result.elapsed.total_seconds())
# 将接口响应时间添加至result
result["api_time"] = api_time
# result["api_time"] = api_time
if result["success"]: # 判断采购计划商品是否已被删除
# 数据库操作
......
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