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

业务发生了改变,优化脚本

parent 9a02ef3a
......@@ -43,15 +43,15 @@ def supply_and_marketing_apply():
contactWay = contactUser
request_body = commonFuc().get_business_data(module, "payload", h_corpId, contactUser, contactWay)
# 发送请求
result = commonFuc().http_post(url, request_body, headers)
print('result', result)
# #获取接口返回数据
#
check_dict = commonFuc().get_business_data(module, "checkDict")
commonFuc().check_result(check_dict, result)
e_corpId = corpId
e_username = username
return e_corpId, h_corpId, e_username, h_name
# result = commonFuc().http_post(url, request_body, headers)
# print('result', result)
# # #获取接口返回数据
# #
# check_dict = commonFuc().get_business_data(module, "checkDict")
# commonFuc().check_result(check_dict, result)
# e_corpId = corpId
# e_username = username
# return e_corpId, h_corpId, e_username, h_name
# supply_and_marketing_apply()
......
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