diff --git "a/air_case/cmdc_order_list/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" "b/air_case/cmdc_order_list/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" index 17edb0f13526d11469d5c0c95b93f5b389ff0560..2228edf771e549ac133858c3c460c5c00412d082 100644 --- "a/air_case/cmdc_order_list/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" +++ "b/air_case/cmdc_order_list/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\213\276\351\200\211\345\220\210\345\271\266_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" "b/air_case/cmdc_order_list/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" index 6504fa0bec7f4fd2e7f624b2ce252ef63a2a80de..bd4f5b54768e5d51e0c842c7e02b7bc49946f7d8 100644 --- "a/air_case/cmdc_order_list/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" +++ "b/air_case/cmdc_order_list/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.air/\345\220\210\345\271\266\345\267\262\346\216\250\351\200\201\351\205\215\350\264\247\345\215\225\346\240\241\351\252\214\351\252\214\350\257\201_jde\351\205\215\350\264\247\347\256\241\347\220\206.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) @@ -51,6 +51,7 @@ result = requests.get(url, params=request_body, headers=headers) api_time = float(result.elapsed.total_seconds()) result = json.loads(result.content) +# print(result) # 将接口响应时间添加至result result["api_time"] = api_time diff --git "a/air_case/cmdc_order_list/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" "b/air_case/cmdc_order_list/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" index 42368daf2b2259fde19b30f6eb5c83d8c8e5292b..6bc442eaa324fe828ef74ab375f50ea4805836d0 100644 --- "a/air_case/cmdc_order_list/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" +++ "b/air_case/cmdc_order_list/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\211\213\346\234\272\345\217\267\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) @@ -32,7 +32,7 @@ result = json.loads(result.content) customer_random = random.randint(0, len(result["data"]["list"]) - 1) # 获取客户信息 user_id = result["data"]["list"][customer_random]["userId"] -company_id = "6" +company_id = "7" # 第三步获取收货地址列表 url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url37") @@ -40,6 +40,7 @@ request_body = commonFuc().get_business_data(module, "payload37", company_id, us # 发送请求 result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) +# print(result) # 判断地址是否存在 if result["data"]["addresses"]["list"]: # 获取收货人手机号 diff --git "a/air_case/cmdc_order_list/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.air/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.py" "b/air_case/cmdc_order_list/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.air/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.py" index 46a413f2fd6f4b2e3f7d2fbb0bedb3cbf6e0f27a..b56ca13ce55fb01e48989a5f06d88f2fac72b62e 100644 --- "a/air_case/cmdc_order_list/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.air/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.py" +++ "b/air_case/cmdc_order_list/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.air/\346\216\250\351\200\201\345\212\237\350\203\275\351\252\214\350\257\201_jde\351\205\215\350\264\247.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.air/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.py" "b/air_case/cmdc_order_list/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.air/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.py" index 04496b10007cf15df78f63ca087d7ee5dc6a38b7..0b29e33674354d5e5e847181b247d468dfc85094 100644 --- "a/air_case/cmdc_order_list/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.air/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.py" +++ "b/air_case/cmdc_order_list/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.air/\346\216\250\351\200\201\345\267\262\346\216\250\351\200\201\346\210\220\345\212\237\347\232\204jde\351\205\215\350\264\247\345\215\225\346\213\246\346\210\252\351\252\214\350\257\201.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" "b/air_case/cmdc_order_list/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" index a62d98b56d8ec57cac546ec4c284984cca71324c..c4434b998dc5b544a63e44dce1cae8371ea9c1a3 100644 --- "a/air_case/cmdc_order_list/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" +++ "b/air_case/cmdc_order_list/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\346\224\266\344\273\266\344\272\272\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) @@ -32,7 +32,7 @@ result = json.loads(result.content) customer_random = random.randint(0, len(result["data"]["list"]) - 1) # 获取客户信息 user_id = result["data"]["list"][customer_random]["userId"] -company_id = "6" +company_id = "7" # 第三步获取收货地址列表 url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url37") diff --git "a/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" "b/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" index 347752fe782f99d91ecae500c198d83c94f2c1bb..41ac09476a6d2d4805ed2f3ee074b9c89cc3b28e 100644 --- "a/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" +++ "b/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.py" "b/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.py" index fa147d5c8e0cc6eef803561a0b7c9275ba786d95..e3333d656a10dca984547f50cd532422cd00a348 100644 --- "a/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.py" +++ "b/air_case/cmdc_order_list/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\207\207\350\264\255\345\215\225\345\210\227\350\241\250.py" @@ -16,8 +16,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" "b/air_case/cmdc_order_list/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" index 17f1cdbf4ac7f5e8c61465bfe25c25cc3e3d0b8e..1aec112d5ba40c0820b1ff8185bf5427b2ca41df 100644 --- "a/air_case/cmdc_order_list/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" +++ "b/air_case/cmdc_order_list/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\346\240\271\346\215\256\346\216\250\351\200\201\345\215\225\345\217\267\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" "b/air_case/cmdc_order_list/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" index 7ec94dc5a50adc9bf4f7dbb4a4f0b5219754f4dd..a8042b9dc2d9fe6c96a032e9c1ce257e153f06be 100644 --- "a/air_case/cmdc_order_list/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" +++ "b/air_case/cmdc_order_list/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.air/\350\216\267\345\217\226jde\351\205\215\350\264\247\345\215\225\344\277\241\346\201\257.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" "b/air_case/cmdc_order_list/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" index a3a380fd029d0d88c615753e2ee46841b990d0a5..a6730839a57bb1f63a66f5e81245c000471920f6 100644 --- "a/air_case/cmdc_order_list/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" +++ "b/air_case/cmdc_order_list/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" @@ -16,8 +16,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) @@ -33,7 +33,7 @@ result = json.loads(result.content) customer_random = random.randint(0, len(result["data"]["list"]) - 1) # 获取客户信息 user_id = result["data"]["list"][customer_random]["userId"] -company_id = "6" +company_id = "7" # 第三步获取收货地址列表 url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url37") diff --git "a/air_case/cmdc_order_list/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.air/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.py" "b/air_case/cmdc_order_list/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.air/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.py" index 41e2505099d4f0efc10cbe296191d7137e307e9a..fbfb067465c103ad2ee8952b77f554a2555fdf83 100644 --- "a/air_case/cmdc_order_list/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.air/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.py" +++ "b/air_case/cmdc_order_list/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.air/\350\216\267\345\217\226\350\256\242\345\215\225\344\277\241\346\201\257_jde\351\205\215\350\264\247\345\220\210\345\271\266\351\241\265\351\235\242.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.air/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.py" "b/air_case/cmdc_order_list/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.air/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.py" index 9488c15d1de5ab1edc00a143e1cfbdc0a7b20de9..8fb2f22e2a04cbe16e164d4512af90e3a2d9857d 100644 --- "a/air_case/cmdc_order_list/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.air/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.py" +++ "b/air_case/cmdc_order_list/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.air/\350\216\267\345\217\226\351\205\215\350\264\247\345\215\225\345\220\210\345\271\266\350\257\246\346\203\205.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) diff --git "a/air_case/cmdc_order_list/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.py" "b/air_case/cmdc_order_list/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.py" index a8d4f93b63017bc0f87bb11dcc45d1e9022eba1c..e57a823d1251e35093dc3d24beee5ba4979d44a4 100644 --- "a/air_case/cmdc_order_list/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.py" +++ "b/air_case/cmdc_order_list/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250_\345\220\216\345\217\260\350\277\220\350\220\245\347\263\273\347\273\237.py" @@ -52,7 +52,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") # 查询数据库中需求单数量 sql = "SELECT count(t.demandId) FROM `cmdc-order`.tc_demand t " \ "WHERE deleteSign = 0 and sellerCompanyCode = 00111 and paymentType is not null" -total = int(mysql_handle.selectSql(host, port, user, pwd, "cmdc-user", sql)[0][0]) - 1 +total = int(mysql_handle.selectSql(host, port, user, pwd, "cmdc-user", sql)[0][0]) # 获取预期结果 check_dict = commonFuc().get_business_data(module, "checkDict1", total) diff --git "a/air_case/cmdc_order_list/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" "b/air_case/cmdc_order_list/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" index d61a1fd1470e08dff73c3f23f75d8945d42dc6ea..6f1e551ec043e8f6108c23fd9c14713ac729ff58 100644 --- "a/air_case/cmdc_order_list/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" +++ "b/air_case/cmdc_order_list/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.air/\350\257\246\347\273\206\345\234\260\345\235\200\346\237\245\350\257\242\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\344\273\243\345\256\242\344\270\213\345\215\225.py" @@ -15,8 +15,8 @@ import json module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) @@ -32,7 +32,7 @@ result = json.loads(result.content) customer_random = random.randint(0, len(result["data"]["list"]) - 1) # 获取客户信息 user_id = result["data"]["list"][customer_random]["userId"] -company_id = "6" +company_id = "7" # 第三步获取收货地址列表 url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url37") diff --git "a/air_case/cmdc_order_list/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.air/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.py" "b/air_case/cmdc_order_list/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.air/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.py" index b2c8d1a37581e45174526257e533b60a15dddfbb..8a3fc84c15f18467db8be08136443151609bd866 100644 --- "a/air_case/cmdc_order_list/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.air/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.py" +++ "b/air_case/cmdc_order_list/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.air/\351\200\232\350\277\207Excel\346\267\273\345\212\240\346\227\240\346\225\210\345\225\206\345\223\201_\344\273\243\345\256\242\344\270\213\345\215\225.py" @@ -51,6 +51,7 @@ result = requests.post(url, json=request_body, headers=headers) api_time = float(result.elapsed.total_seconds()) result = json.loads(result.content) +# print(result) # 将接口响应时间添加至result result["api_time"] = api_time diff --git "a/air_case/cmdc_order_list/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" "b/air_case/cmdc_order_list/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" index 99a0db5a42b96f718acf436075f6a7788bf505ab..5cb045bedf5b99b35df439478bb43e6a62c7a005 100644 --- "a/air_case/cmdc_order_list/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" +++ "b/air_case/cmdc_order_list/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.air/\351\205\215\350\264\247\345\215\225\345\257\274\345\207\272_jde\351\205\215\350\264\247\345\210\227\350\241\250.py" @@ -18,8 +18,8 @@ import os module = "cmdc_order_list" # 第一步登录后台运营系统获取token -username = commonFuc().get_business_data(module, "username1") -password = commonFuc().get_business_data(module, "password1") +username = commonFuc().get_business_data(module, "username2") +password = commonFuc().get_business_data(module, "password2") # 获取登录后Cmdc_access_token cmdc_access_token = CmdcDoLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token)