Commit df51ccd5 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程一脚本提交

parent 4630c937
...@@ -119,10 +119,10 @@ def import_goods(hosGoodsId): ...@@ -119,10 +119,10 @@ def import_goods(hosGoodsId):
commonFuc().get_business_data(module, "X-APP-CODE")) commonFuc().get_business_data(module, "X-APP-CODE"))
# 获取院区id # 获取院区id
branch_id = FileUtils().r_info(module, '院区新增')["branch_id"] branch_id = FileUtils().r_info(module, '院区新增')["branch_id"]
hosGoodsId=hosGoodsId.replace(get_hosid(),'') hosGoodsId1=hosGoodsId.replace(get_hosid(),'')
while True: while True:
# #请求体 # #请求体
request_body = commonFuc().get_business_data(module, "payload33_1", branch_id,hosGoodsId) request_body = commonFuc().get_business_data(module, "payload33_1", branch_id,hosGoodsId1)
print(request_body) print(request_body)
# # # 发送请求 # # # 发送请求
result = commonFuc().http_post(url, request_body, headers) result = commonFuc().http_post(url, request_body, headers)
......
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