diff --git "a/air_case/cmdc_purchase_list/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.air/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.py" "b/air_case/cmdc_purchase_list/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.air/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.py" index b6ab63898677eff826f10da0e6f6a1af9b327120..4ba8613dadba30523b2bf2c4271491317a905429 100644 --- "a/air_case/cmdc_purchase_list/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.air/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.py" +++ "b/air_case/cmdc_purchase_list/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.air/\351\207\207\350\264\255\345\215\225\346\237\245\350\257\242.py" @@ -14,7 +14,6 @@ import json module = "cmdc_purchase_list" -url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url") # print(url) # 获取登录所需账号密码 username = commonFuc().get_business_data(module, "username") @@ -22,6 +21,9 @@ password = commonFuc().get_business_data(module, "password") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 获取采购单列表 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url") request_body = commonFuc().get_business_data(module, "payload1") """ diff --git a/data/cmdc_purchase_list/data b/data/cmdc_purchase_list/data index 2ed571ff297e0d5f8298f5891ade0112b799fab4..eff26c1d7ea32265e731cbbc95002cf889694219 100644 --- a/data/cmdc_purchase_list/data +++ b/data/cmdc_purchase_list/data @@ -1,7 +1,3 @@ -#采购单查询接口 -"url": "/order/purchase/list" - - # 后台运营管理系统登录信息 "username": "Admin00111" "password": "Aa123456" @@ -10,6 +6,9 @@ json_headers1: { "Content-Type": "application/json", "Cmdc_access_token": "%s" } + +#采购单查询接口 +"url": "/order/purchase/list" "payload1": {"billNo":"","billStatusList":[],"creator":"","demandNo":"","startTime":"","endTime":"","times":null,"status":null,"pageNumber":1,"pageSize":8} #预期结果 checkDict2: {"success":true,"code":"200","message":null}