Commit b821f904 authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 114cedfa
......@@ -31,7 +31,7 @@ result = json.loads(result.content)
# 获取需求单信息
demandParentCode = result["data"]["list"][0]["demandParentCode"]
# print(demandParentCode)
# 第三步获取需求单导出操作
url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url27")
request_body = commonFuc().get_business_data(module, "payload27", demandParentCode)
......@@ -71,7 +71,7 @@ with open(file_path, 'wb') as f:
# 获取导出文件中制单人信息
excel = HandleExcel(file_path, "Sheet1")
result = {"operationUserName": excel.read_data()[0].get("单人")}
result = {"operationUserName": excel.read_data()[0].get("单人")}
# 将接口响应时间添加至result
result["api_time"] = api_time
......
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