Commit d49c9d29 authored by liguangyu06's avatar liguangyu06
Browse files

用例优化

parent 1a33728e
......@@ -24,7 +24,7 @@ headers = commonFuc().get_business_data(module, "json_headers2", cmdc_access_tok
# 获取新老商品关系编码列表
url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_product_code")
request_body = commonFuc().get_business_data(module, "payload_product_code")
request_body = commonFuc().get_business_data(module, "payload_product_code_1")
# 发送请求
result = requests.post(url, headers=headers, json=request_body)
result = json.loads(result.content)
......
......@@ -178,7 +178,7 @@ checkDict20: {"success":true,"code":"200","message":"OK"}
#新老商品关系编码维护列表接口地址和请求报文
"url_product_code": "/order/public/queryProductCodeMaintainPage"
"payload_product_code": {"groupCode":"","groupName":"","productCode":"","productInfo":"","materialCode":"","manufacturerList":[],"productLineName":"","description":"","manufacturerGroupCode":"","manufacturerGroupName":"","customerCode":"","customerName":"","manufacturerUserNo":"","manufacturerUserDesc":"","documentNo":"","groupType":2,"status":null,"pageStart":1,"pageSize":8}
"payload_product_code_1": {"groupCode":"","groupName":"","productCode":"","productInfo":"","materialCode":"","manufacturerList":[],"productLineName":"","description":"","manufacturerGroupCode":"","manufacturerGroupName":"","customerCode":"","customerName":"","manufacturerUserNo":"","manufacturerUserDesc":"","documentNo":"","groupType":2,"status":"1","pageStart":1,"pageSize":8}
#新老编码组停用接口
"url20": "/order/public/enableOrDisableProductMaintain"
#预期结果
......
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