diff --git "a/air_case/cmdc-qos/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.air/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.py" "b/air_case/cmdc-qos/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.air/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.py" index a4856eb59844c17796439576d93d905daf7aa389..788ac826b73fbca2bc4b1c26e1b3d0caa8ba0e24 100644 --- "a/air_case/cmdc-qos/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.air/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.py" +++ "b/air_case/cmdc-qos/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.air/\345\277\253\351\200\237\344\270\213\345\215\225\346\235\203\351\231\220_\345\220\246.py" @@ -19,25 +19,22 @@ username = commonFuc().get_business_data(module, "username") password = commonFuc().get_business_data(module, "password") # 鑾峰彇鐧诲綍鍚嶤mdc_access_token cmdc_access_token = CmdcMaiiLogin(username, password).get_token() - headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) - # 绗簩姝ユ煡璇㈢珯鐐瑰搴旂殑companyId url1 = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url1") - request_body1 = commonFuc().get_business_data(module, "payload1") -result1 = requests.post(url1, json=request_body1, headers=headers) -result1 = json.loads(result1.text) - """ + 鍦烘櫙:绔欑偣涓嶆嫢鏈夊揩閫熶笅鍗曟潈闄愬叆鍙� 鐢ㄤ緥鍚嶇О锛氬揩閫熶笅鍗曟潈闄愬垽瀹氭帴鍙�-绔欑偣婊¤冻鏉′欢鏄剧ず蹇€熶笅鍗曞叆鍙� 杈撳叆锛歝ompanyId 杈撳嚭锛�"quickOrderSign": 0 """ - +# 鍙戦€佽姹� +result1 = requests.post(url1, json=request_body1, headers=headers) +result1 = json.loads(result1.text) # 鑾峰彇绔欑偣瀵瑰簲鐨勫揩閫熶笅鍗曟爣璇嗗瓧娈祋uickOrderSign result1 = result1["data"] diff --git "a/air_case/cmdc_buyercart_handle/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.air/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.py" "b/air_case/cmdc_buyercart_handle/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.air/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.py" index a231aa445bbb21be6fcad3b2fc404d24f840ead1..9d6a68f6ecf03e43396cbe96480e936aa8296f6f 100644 --- "a/air_case/cmdc_buyercart_handle/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.air/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.py" +++ "b/air_case/cmdc_buyercart_handle/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.air/\350\264\255\347\211\251\350\275\246\346\224\257\346\214\201\350\267\250\347\253\231\345\225\206\345\223\201\344\270\213\345\215\225\351\252\214\350\257\201.py" @@ -73,10 +73,17 @@ request_body = commonFuc().get_business_data(module, "payload30", buyercart_id_1 # 鍙戦€佽姹� result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) -if result["data"]: - # # 鑾峰彇棰勬湡缁撴灉 - check_dict = commonFuc().get_business_data(module, "checkDict2") - # # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 - commonFuc().check_result(check_dict, result) +# print(result) +if result["success"]: + if result["data"]: + # # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict2") + # # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) + else: + print("涓嬪崟澶辫触") else: - print("涓嬪崟澶辫触") + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict2_1") + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_create_pc/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.air/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.py" "b/air_case/cmdc_demand_create_pc/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.air/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.py" index 3686a1375cc5d76b1661a3163b28f96efc176b32..29add6badc547a2fa6f24e40752f9d16d05ef57c 100644 --- "a/air_case/cmdc_demand_create_pc/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.air/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.py" +++ "b/air_case/cmdc_demand_create_pc/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.air/\345\244\232\351\207\207\345\225\206\345\237\216\351\234\200\346\261\202\345\215\225\345\210\233\345\273\272.py" @@ -13,7 +13,6 @@ import json module = "cmdc_demand_create_pc" -url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url") # print(url) # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 username = commonFuc().get_business_data(module, "username") @@ -21,6 +20,9 @@ password = commonFuc().get_business_data(module, "password") # 鑾峰彇鐧诲綍鍚嶤mdc_access_token cmdc_access_token = CmdcMaiiLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) + +# 杩涜闇€姹傚崟鍒涘缓鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url") request_body = commonFuc().get_business_data(module, "payload") """ 鍦烘櫙:閫氳繃蹇€熶笅鍗曞叆鍙f彁浜ゅ垱寤洪渶姹傚崟 @@ -31,8 +33,15 @@ request_body = commonFuc().get_business_data(module, "payload") result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) # print(result) -# 鑾峰彇棰勬湡缁撴灉 -check_dict = commonFuc().get_business_data(module, "checkDict") -print(check_dict) -# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 -commonFuc().check_result(check_dict, result) +if result["success"]: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict") + print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict_1") + print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) \ No newline at end of file diff --git "a/air_case/cmdc_demand_mall/\344\270\212\344\274\240\346\224\257\344\273\230\345\207\255\350\257\201\345\212\237\350\203\275\351\252\214\350\257\201.air/\344\270\212\344\274\240\346\224\257\344\273\230\345\207\255\350\257\201\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\344\270\212\344\274\240\346\224\257\344\273\230\345\207\255\350\257\201\345\212\237\350\203\275\351\252\214\350\257\201.air/\344\270\212\344\274\240\346\224\257\344\273\230\345\207\255\350\257\201\345\212\237\350\203\275\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..db9dd29691e35b6dfb2fe21a4d59c67228af7513 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\344\270\212\344\274\240\346\224\257\344\273\230\345\207\255\350\257\201\345\212\237\350\203\275\351\252\214\350\257\201.air/\344\270\212\344\274\240\346\224\257\344\273\230\345\207\255\350\257\201\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -0,0 +1,52 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc涓婁紶鏀粯鍑瘉鍔熻兘楠岃瘉,2289,2289-33,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏀粯椤甸潰闄勪欢涓婁紶鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json +import os + + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鑾峰彇鏂囦欢鍦板潃 +BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +file_path = BASE_DIR + "/data/cmdc_files/test_file.jpg" + +# 绗簩姝ヤ笂浼犻檮浠� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url34") + +# 鑾峰彇鏂囦欢 +file = open(file_path, "rb") +files = {"file": file} + +""" + 鍦烘櫙: 涓婁紶鏀粯鍑瘉鍔熻兘楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氫笂浼犳敮浠樺嚟璇佸姛鑳介獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, files=files, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict34") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.py" "b/air_case/cmdc_demand_mall/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.py" new file mode 100644 index 0000000000000000000000000000000000000000..4fe79592f42b279f0d78e2551d55dada67d933ba --- /dev/null +++ "b/air_case/cmdc_demand_mall/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.py" @@ -0,0 +1,58 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧涓嬫灦鎷︽埅楠岃瘉_璁㈠崟淇敼,2289,2289-37,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟淇敼鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 杩涜鍟嗗搧涓嬫灦鎿嶄綔 +sql = "UPDATE `cmdc-product`.ic_product t SET t.status = 102 WHERE t.productId = 314" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) + +# 绗簩姝ラ渶姹傚崟缂栬緫淇敼鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url39") +request_body = commonFuc().get_business_data(module, "payload39") + +""" + 鍦烘櫙: 楠岃瘉闇€姹傚崟缂栬緫鎻愪氦鏃讹紝鎵€鍚晢鍝佷笅鏋讹紝鏄惁琚嫤鎴垚鍔� + 鐢ㄤ緥鍚嶇О锛氬晢鍝佷笅鏋舵嫤鎴獙璇乢璁㈠崟淇敼 + 杈撳嚭锛歿"errMessage": "绾㈠娴嬫俯浠晢鍝佸凡琚笅鏋讹紝璇疯繑鍥為噸鏂版彁浜ゃ€�"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇message +result = {"errMessage": result["data"][0]["errMessage"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict39") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + +# 杩涜鍟嗗搧涓婃灦鏋舵搷浣� +sql = "UPDATE `cmdc-product`.ic_product t SET t.status = 101 WHERE t.productId = 314" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) \ No newline at end of file diff --git "a/air_case/cmdc_demand_mall/\346\217\220\344\272\244\350\256\242\345\215\225\346\224\257\344\273\230\350\257\201\346\230\216\345\212\237\350\203\275\351\252\214\350\257\201.air/\346\217\220\344\272\244\350\256\242\345\215\225\346\224\257\344\273\230\350\257\201\346\230\216\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\346\217\220\344\272\244\350\256\242\345\215\225\346\224\257\344\273\230\350\257\201\346\230\216\345\212\237\350\203\275\351\252\214\350\257\201.air/\346\217\220\344\272\244\350\256\242\345\215\225\346\224\257\344\273\230\350\257\201\346\230\216\345\212\237\350\203\275\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..be30623e21a3aaf0c23af3a68287a973bbf1959e --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\217\220\344\272\244\350\256\242\345\215\225\346\224\257\344\273\230\350\257\201\346\230\216\345\212\237\350\203\275\351\252\214\350\257\201.air/\346\217\220\344\272\244\350\256\242\345\215\225\346\224\257\344\273\230\350\257\201\346\230\216\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -0,0 +1,61 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鎻愪氦璁㈠崟鏀粯璇佹槑鍔熻兘楠岃瘉,2289,2289-34,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鎻愪氦璁㈠崟鏀粯璇佹槑鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json +import os + + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鑾峰彇鏂囦欢鍦板潃 +BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +file_path = BASE_DIR + "/data/cmdc_files/test_file.jpg" + +# 绗簩姝ヤ笂浼犻檮浠� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url34") + +# 鑾峰彇鏂囦欢 +file = open(file_path, "rb") +files = {"file": file} +# 鍙戦€佽姹� +result = requests.post(url, files=files, headers=headers) +result = json.loads(result.content) + +# 鑾峰彇涓婁紶闄勪欢鍚庡湴鍧€ +file_aliyun = result["data"] + +# 绗笁姝ユ彁浜ゆ敮浠樿瘉鏄庝俊鎭� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url35") +request_body = commonFuc().get_business_data(module, "payload35", file_aliyun) + +""" + 鍦烘櫙: 鎻愪氦璁㈠崟鏀粯璇佹槑鍔熻兘楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氭彁浜よ鍗曟敮浠樿瘉鏄庡姛鑳介獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK","data":1} +""" + +# 鍙戦€佽姹� +result = result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict35") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\256\241\346\240\270\345\217\230\345\212\250\350\256\242\345\215\225_\351\234\200\346\261\202\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_\345\256\241\346\240\270\345\217\230\345\212\250\350\256\242\345\215\225_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\256\241\346\240\270\345\217\230\345\212\250\350\256\242\345\215\225_\351\234\200\346\261\202\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_\345\256\241\346\240\270\345\217\230\345\212\250\350\256\242\345\215\225_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" new file mode 100644 index 0000000000000000000000000000000000000000..5e0dec503965264341ce21258c4582aa68c5dd33 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\256\241\346\240\270\345\217\230\345\212\250\350\256\242\345\215\225_\351\234\200\346\261\202\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_\345\256\241\346\240\270\345\217\230\345\212\250\350\256\242\345\215\225_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" @@ -0,0 +1,46 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_瀹℃牳鍙樺姩璁㈠崟_闇€姹傚崟鍒楄〃,2289,2289-3,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url3") +request_body = commonFuc().get_business_data(module, "payload3") + +""" + + 鍦烘櫙: 楠岃瘉闇€姹傚崟鍒楄〃鏌ヨ鏉′欢-瀹℃牳鍙樺姩璁㈠崟锛屾纭€� + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢瀹℃牳鍙樺姩璁㈠崟_闇€姹傚崟鍒楄〃 + 杈撳嚭锛歿"changeSign":1} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓槸鍚﹀鏍稿彉鍔ㄦ爣璇� +result = {"changeSign": result["data"]["list"][0]["changeSign"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict3") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\347\212\266\346\200\201_\351\234\200\346\261\202\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_\347\212\266\346\200\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\347\212\266\346\200\201_\351\234\200\346\261\202\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_\347\212\266\346\200\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" new file mode 100644 index 0000000000000000000000000000000000000000..db1d4fdcb0d8d87a3ab7b4233a66a0c08abc29d8 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\347\212\266\346\200\201_\351\234\200\346\261\202\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_\347\212\266\346\200\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" @@ -0,0 +1,47 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_鐘舵€乢闇€姹傚崟鍒楄〃,2289,2289-4,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url4") +request_body = commonFuc().get_business_data(module, "payload4") + +""" + + 鍦烘櫙: 楠岃瘉闇€姹傚崟鍒楄〃鏌ヨ鏉′欢-鐘舵€侊紝姝g‘鎬� + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢鐘舵€乢闇€姹傚崟鍒楄〃 + 杈撳嚭锛歿"orderStatus":102} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓槸鍚﹀鏍稿彉鍔ㄦ爣璇� +result = {"orderStatus": result["data"]["list"][0]["orderStatus"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict4") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\234\200\346\261\202\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\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\234\200\346\261\202\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\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" new file mode 100644 index 0000000000000000000000000000000000000000..f92bc9f40d854406425d2e33ef768e9d89f9a14a --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\351\234\200\346\261\202\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\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" @@ -0,0 +1,77 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_闇€姹傚崟鍒楄〃,2289,2289-2,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import datetime +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + + +# 姝ゅ嚱鏁扮敤浜庡綋x涓簄one鏃讹紝杩涜绌哄瓧绗︿覆鏇挎崲 +def func(x): + if x is None: + x = "" + return x + else: + return x + + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +seller_company_code = result["data"]["list"][random_demand]["sellerCompanyCode"] +startTime = result["data"]["list"][random_demand]["createTime"] +endTime = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") +product_code = func(result["data"]["list"][random_demand]["productCode"]) +product_info_value = func(result["data"]["list"][random_demand]["productName"]) +order_num = result["data"]["list"][random_demand]["demandCode"] +payment_type = result["data"]["list"][random_demand]["paymentType"] +preference_type = result["data"]["list"][random_demand]["preferenceType"] + +# 绗笁姝ュ湪闇€姹傚崟鍒楄〃杩涜闇€姹傚崟鏌ヨ鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url2") +request_body = commonFuc().get_business_data(module, "payload2", seller_company_code, startTime, endTime, product_code, + product_info_value, order_num, payment_type, preference_type) +# print(request_body) +""" + 鍦烘櫙: 楠岃瘉闇€姹傚崟鍒楄〃鏌ヨ鏉′欢姝g‘鎬� + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢闇€姹傚崟鍒楄〃 + 杈撳嚭锛歿"orderNum":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓鍗曠紪鍙� +result = {"orderNum": result["data"]["list"][0]["demandCode"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict2", order_num) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\346\237\245\350\257\242\347\272\277\344\270\213\346\224\257\344\273\230\350\264\246\345\217\267\344\277\241\346\201\257\351\252\214\350\257\201.air/\346\237\245\350\257\242\347\272\277\344\270\213\346\224\257\344\273\230\350\264\246\345\217\267\344\277\241\346\201\257\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\347\272\277\344\270\213\346\224\257\344\273\230\350\264\246\345\217\267\344\277\241\346\201\257\351\252\214\350\257\201.air/\346\237\245\350\257\242\347\272\277\344\270\213\346\224\257\344\273\230\350\264\246\345\217\267\344\277\241\346\201\257\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..7a935bc95bafa6c15892066e93ff68917b760cca --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\237\245\350\257\242\347\272\277\344\270\213\346\224\257\344\273\230\350\264\246\345\217\267\344\277\241\346\201\257\351\252\214\350\257\201.air/\346\237\245\350\257\242\347\272\277\344\270\213\346\224\257\344\273\230\350\264\246\345\217\267\344\277\241\346\201\257\351\252\214\350\257\201.py" @@ -0,0 +1,55 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ绾夸笅鏀粯璐﹀彿淇℃伅楠岃瘉,2289,2289-32,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏌ヨ绾夸笅鏀粯璐﹀彿淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url33") +request_body = commonFuc().get_business_data(module, "payload33") +# print(request_body) +""" + 鍦烘櫙: 鏌ヨ绾夸笅鏀粯璐﹀彿淇℃伅楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氭煡璇㈢嚎涓嬫敮浠樿处鍙蜂俊鎭獙璇� + 杈撳嚭锛歿"total":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇璐﹀彿鏁伴噺 +result = {"total": result["data"]["total"]} +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 鏌ヨ鏁版嵁搴撲腑瀵瑰簲鍏徃瀵瑰簲鐨勮处鍙蜂俊鎭� +sql = "SELECT t.accountId FROM `cmdc-cms`.cms_account t WHERE companyId = 7" +total = len(mysql_handle.selectSql(host, port, user, pwd, "cmdc-cms", sql)) + +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict33", total) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\346\240\271\346\215\256\347\224\250\346\210\267\346\237\245\350\257\242\345\205\254\345\217\270\344\277\241\346\201\257\351\252\214\350\257\201.air/\346\240\271\346\215\256\347\224\250\346\210\267\346\237\245\350\257\242\345\205\254\345\217\270\344\277\241\346\201\257\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\346\240\271\346\215\256\347\224\250\346\210\267\346\237\245\350\257\242\345\205\254\345\217\270\344\277\241\346\201\257\351\252\214\350\257\201.air/\346\240\271\346\215\256\347\224\250\346\210\267\346\237\245\350\257\242\345\205\254\345\217\270\344\277\241\346\201\257\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..7ef33bae3eb89b632229432f2ea647d10642a31a --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\240\271\346\215\256\347\224\250\346\210\267\346\237\245\350\257\242\345\205\254\345\217\270\344\277\241\346\201\257\351\252\214\350\257\201.air/\346\240\271\346\215\256\347\224\250\346\210\267\346\237\245\350\257\242\345\205\254\345\217\270\344\277\241\346\201\257\351\252\214\350\257\201.py" @@ -0,0 +1,44 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏍规嵁鐢ㄦ埛鏌ヨ鍏徃淇℃伅楠岃瘉,2289,2289-29,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏍规嵁鐢ㄦ埛鏌ヨ鍏徃淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url30") +request_body = commonFuc().get_business_data(module, "payload30") +# print(request_body) +""" + + 鍦烘櫙: 鏍规嵁鐢ㄦ埛鏌ヨ鍏徃淇℃伅楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氭牴鎹敤鎴锋煡璇㈠叕鍙镐俊鎭獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict30") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\346\240\271\346\215\256\351\234\200\346\261\202id\350\216\267\345\217\226\345\205\254\345\217\270id\351\252\214\350\257\201.air/\346\240\271\346\215\256\351\234\200\346\261\202id\350\216\267\345\217\226\345\205\254\345\217\270id\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\346\240\271\346\215\256\351\234\200\346\261\202id\350\216\267\345\217\226\345\205\254\345\217\270id\351\252\214\350\257\201.air/\346\240\271\346\215\256\351\234\200\346\261\202id\350\216\267\345\217\226\345\205\254\345\217\270id\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..a42b794f6f3a8a9beb2b2ed8d3780f1fefa50a53 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\240\271\346\215\256\351\234\200\346\261\202id\350\216\267\345\217\226\345\205\254\345\217\270id\351\252\214\350\257\201.air/\346\240\271\346\215\256\351\234\200\346\261\202id\350\216\267\345\217\226\345\205\254\345\217\270id\351\252\214\350\257\201.py" @@ -0,0 +1,58 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏍规嵁闇€姹俰d鑾峰彇鍏徃id楠岃瘉,2289,2289-30,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄楠岃瘉鏍规嵁闇€姹俰d鑾峰彇鍏徃id鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "36064" + + +# 绗笁姝ヨ幏鍙栧叕鍙竔d +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url32") +request_body = commonFuc().get_business_data(module, "payload32", demand_id) +# print(request_body) +""" + 鍦烘櫙: 鏍规嵁闇€姹俰d鑾峰彇鍏徃id楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氭牴鎹渶姹俰d鑾峰彇鍏徃id楠岃瘉 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) + +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict32") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\346\250\241\347\263\212\346\237\245\350\257\242\347\224\237\344\272\247\345\216\202\345\256\266\345\210\227\350\241\250\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\250\241\347\263\212\346\237\245\350\257\242\347\224\237\344\272\247\345\216\202\345\256\266\345\210\227\350\241\250\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\346\250\241\347\263\212\346\237\245\350\257\242\347\224\237\344\272\247\345\216\202\345\256\266\345\210\227\350\241\250\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\250\241\347\263\212\346\237\245\350\257\242\347\224\237\344\272\247\345\216\202\345\256\266\345\210\227\350\241\250\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..a090860e38f536cbdd5ab21e712fddfa62e5a247 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\346\250\241\347\263\212\346\237\245\350\257\242\347\224\237\344\272\247\345\216\202\345\256\266\345\210\227\350\241\250\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\250\241\347\263\212\346\237\245\350\257\242\347\224\237\344\272\247\345\216\202\345\256\266\345\210\227\350\241\250\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,46 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc妯$硦鏌ヨ鐢熶骇鍘傚鍒楄〃鎺ュ彛楠岃瘉,2289,2289-7,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鐢熶骇鍘傚妯$硦鏌ヨ鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 璁剧疆闇€瑕佹煡璇㈢殑鐢熶骇鍘傚 +manufacturer = "A" +# 绗簩姝ヨ繘琛岀敓浜у巶瀹舵ā绯婃煡璇� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url7") +request_body = commonFuc().get_business_data(module, "payload7", manufacturer) + +""" + 鍦烘櫙: 楠岃瘉鑾峰彇闇€姹傚崟鍒楄〃,鐢熶骇鍘傚妯$硦鏌ヨ鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氭ā绯婃煡璇㈢敓浜у巶瀹跺垪琛ㄦ帴鍙i獙璇� + 杈撳嚭锛歿"data":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +print(result) +# 鑾峰彇鏌ヨ缁撴灉涓巶瀹朵俊鎭� +result = {"data": result["data"][0][0]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict7", manufacturer) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\205\254\345\217\270\347\253\231\347\202\271\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\205\254\345\217\270\347\253\231\347\202\271\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\205\254\345\217\270\347\253\231\347\202\271\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\205\254\345\217\270\347\253\231\347\202\271\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..29aee8bb8aa786f34d8d76870420d854fbb88a27 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\205\254\345\217\270\347\253\231\347\202\271\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\205\254\345\217\270\347\253\231\347\202\271\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,33 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鍏徃绔欑偣鎺ュ彛楠岃瘉,2289,2289-5,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鍏徃绔欑偣淇℃伅鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_demand_mall" + +# 鑾峰彇绔欑偣淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url5") + +""" + 鍦烘櫙: 楠岃瘉澶氶噰鍟嗗煄闇€姹傚崟绠$悊鍒楄〃锛屽叕鍙哥珯鐐逛俊鎭幏鍙栨帴鍙h繛閫氭€� + 鐢ㄤ緥鍚嶇О锛氳幏鍙栧叕鍙哥珯鐐规帴鍙i獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict5") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\216\237\345\247\213\351\234\200\346\261\202\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\216\237\345\247\213\351\234\200\346\261\202\350\257\246\346\203\205\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\216\237\345\247\213\351\234\200\346\261\202\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\216\237\345\247\213\351\234\200\346\261\202\350\257\246\346\203\205\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..7ffe3b98c488214f92b9b14699f808d9546e24ab --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\216\237\345\247\213\351\234\200\346\261\202\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\216\237\345\247\213\351\234\200\346\261\202\350\257\246\346\203\205\351\252\214\350\257\201.py" @@ -0,0 +1,58 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鍘熷闇€姹傝鎯呴獙璇�,2289,2289-11,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鍘熷闇€姹傝鎯呮帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] + +# 绗笁姝ュ湪闇€姹傚崟鍒楄〃杩涜闇€姹傚崟鏌ヨ鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url10") +request_body = commonFuc().get_business_data(module, "payload10", demand_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇鍘熷闇€姹傝鎯呴獙璇� + 鐢ㄤ緥鍚嶇О锛氳幏鍙栧師濮嬮渶姹傝鎯呴獙璇� + 杈撳嚭锛歿"demandCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鍘熷闇€姹傚崟涓璬emandCode +result = {"demandCode": result["data"]["demandSkuList"]["list"][0]["demandCode"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict10", demand_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\256\241\346\240\270\344\272\272\345\221\230\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\256\241\346\240\270\344\272\272\345\221\230\345\210\227\350\241\250\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\256\241\346\240\270\344\272\272\345\221\230\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\256\241\346\240\270\344\272\272\345\221\230\345\210\227\350\241\250\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..8b2c2058dc3faa1416606eaed7ef698da5241970 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\345\256\241\346\240\270\344\272\272\345\221\230\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\345\256\241\346\240\270\344\272\272\345\221\230\345\210\227\350\241\250\351\252\214\350\257\201.py" @@ -0,0 +1,55 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇瀹℃牳浜哄憳鍒楄〃楠岃瘉,2289,2289-10,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇瀹℃牳浜哄憳鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] + +# 绗笁姝ュ湪闇€姹傚崟鍒楄〃杩涜闇€姹傚崟鏌ヨ鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url9") +request_body = commonFuc().get_business_data(module, "payload9", demand_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇瀹℃牳浜哄憳鍒楄〃楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栧鏍镐汉鍛樺垪琛ㄩ獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict9") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\346\224\257\344\273\230\344\277\241\346\201\257\351\252\214\350\257\201_\346\224\257\344\273\230\351\241\265\351\235\242.air/\350\216\267\345\217\226\346\224\257\344\273\230\344\277\241\346\201\257\351\252\214\350\257\201_\346\224\257\344\273\230\351\241\265\351\235\242.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\346\224\257\344\273\230\344\277\241\346\201\257\351\252\214\350\257\201_\346\224\257\344\273\230\351\241\265\351\235\242.air/\350\216\267\345\217\226\346\224\257\344\273\230\344\277\241\346\201\257\351\252\214\350\257\201_\346\224\257\344\273\230\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..722a917f224f6b157b25452459e8b1b19f96cfaf --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\346\224\257\344\273\230\344\277\241\346\201\257\351\252\214\350\257\201_\346\224\257\344\273\230\351\241\265\351\235\242.air/\350\216\267\345\217\226\346\224\257\344\273\230\344\277\241\346\201\257\351\252\214\350\257\201_\346\224\257\344\273\230\351\241\265\351\235\242.py" @@ -0,0 +1,60 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鏀粯淇℃伅楠岃瘉_鏀粯椤甸潰,2289,2289-31,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏀粯椤甸潰鑾峰彇鏀粯淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload27_1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +code = result["data"]["list"][random_demand]["demandParentCode"] +customer_charge = result["data"]["list"][random_demand]["customerCharge"] + +# 绗笁姝ヨ幏鍙栨敮浠橀〉闈㈣鍗曟敮浠橀噾棰� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url28") +request_body = commonFuc().get_business_data(module, "payload28", code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇鏀粯淇℃伅楠岃瘉_鏀粯椤甸潰 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栨敮浠樹俊鎭獙璇乢鏀粯椤甸潰 + 杈撳嚭锛歿"customerCharge":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) +# 鑾峰彇闇€姹傚崟瀵瑰簲鐨勫鎴锋姌鎵� +result = {"customerCharge": result["data"]["customerCharge"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict28", customer_charge) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225.py" new file mode 100644 index 0000000000000000000000000000000000000000..f9fdb5b006ec9b93ddee0bd39f1dcac9e4253dc0 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225.py" @@ -0,0 +1,34 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇绔欑偣淇℃伅楠岃瘉_闇€姹傚崟,2289,2289-12,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃绔欑偣淇℃伅鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_demand_mall" + +# 鑾峰彇绔欑偣淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url11") +request_body = commonFuc().get_business_data(module, "payload11") + +""" + 鍦烘櫙: 鑾峰彇绔欑偣淇℃伅楠岃瘉_闇€姹傚崟 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栫珯鐐逛俊鎭獙璇乢闇€姹傚崟 + 杈撳嚭锛歿"companyId":6} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# 鑾峰彇绔欑偣淇℃伅涓叕鍙竔d +result = {"companyId": result["data"]["companyId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict11") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\215\211\347\250\277\350\256\242\345\215\225\350\257\246\346\203\205.air/\350\216\267\345\217\226\350\215\211\347\250\277\350\256\242\345\215\225\350\257\246\346\203\205.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\215\211\347\250\277\350\256\242\345\215\225\350\257\246\346\203\205.air/\350\216\267\345\217\226\350\215\211\347\250\277\350\256\242\345\215\225\350\257\246\346\203\205.py" new file mode 100644 index 0000000000000000000000000000000000000000..c0fad1a2fdf9a1041845c84c6f43f5e16474cea9 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\215\211\347\250\277\350\256\242\345\215\225\350\257\246\346\203\205.air/\350\216\267\345\217\226\350\215\211\347\250\277\350\256\242\345\215\225\350\257\246\346\203\205.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鑽夌ǹ璁㈠崟璇︽儏,2289,2289-38,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鑽夌ǹ璁㈠崟璇︽儏鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload38_1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +version = result["data"]["list"][random_demand]["version"] +# print(version) +# 绗笁姝ヨ幏鍙栬崏绋胯鍗曡鎯� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url38") +request_body = commonFuc().get_business_data(module, "payload38", version) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇鑽夌ǹ璁㈠崟璇︽儏 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬崏绋胯鍗曡鎯� + 杈撳嚭锛歿"id":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鑽夌ǹ璁㈠崟璇︽儏涓璱d +result = {"id": result["data"]["id"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict38", version) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\345\210\227\350\241\250\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\345\210\227\350\241\250\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..49065721a6802c30ab625a9886e146f94820fe98 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\345\210\227\350\241\250\351\252\214\350\257\201.py" @@ -0,0 +1,68 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟鍙樺姩鏄庣粏鍒楄〃楠岃瘉,2289,2289-19,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇璁㈠崟鍙樺姩鏄庣粏鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] +# demand_code = "17020165859551447" + + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勮鍗曞彉鍔ㄦ槑缁嗗垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url16") +request_body = commonFuc().get_business_data(module, "payload16", demand_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇璁㈠崟鍙樺姩鏄庣粏鍒楄〃楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曞彉鍔ㄦ槑缁嗗垪琛ㄩ獙璇� + 杈撳嚭锛歿"demandSubCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) +if result["data"]: + # 鑾峰彇璁㈠崟鏄庣粏鍒楄〃涓璬emandCode + result = {"demandCode": result["data"][0]["demandCode"]} + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict16", demand_code) + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict16_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) + + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\207\221\351\242\235\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\207\221\351\242\235\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\207\221\351\242\235\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\207\221\351\242\235\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..bd854631a402f8c067fe3248590c27da5bf59937 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\207\221\351\242\235\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\207\221\351\242\235\351\252\214\350\257\201.py" @@ -0,0 +1,60 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟鍙樺姩鏄庣粏閲戦楠岃瘉,2289,2289-20,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇璁㈠崟鍙樺姩鏄庣粏鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] +demand_code = "17020165859551447" + + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勮鍗曞彉鍔ㄦ槑缁嗗垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url18") +request_body = commonFuc().get_business_data(module, "payload18", demand_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇璁㈠崟鍙樺姩鏄庣粏閲戦楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曞彉鍔ㄦ槑缁嗛噾棰濋獙璇� + 杈撳嚭锛歿"isChange":True} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) +# 鑾峰彇璁㈠崟鏄庣粏鍒楄〃涓璱sChange +result = {"isChange": result["data"]["isChange"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict18") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..34a758d8e5da42fe95f8b76952ce373268dc23e9 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\345\217\230\345\212\250\346\230\216\347\273\206\351\252\214\350\257\201.py" @@ -0,0 +1,72 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟鍙樺姩鏄庣粏楠岃瘉,2289,2289-18,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇璁㈠崟鍙樺姩鏄庣粏鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] +demand_code = "17020165859551447" + + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勮鍗曞彉鍔ㄦ槑缁嗗垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url16") +request_body = commonFuc().get_business_data(module, "payload16", demand_code) +# print(request_body) +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) + +# 鑾峰彇鏄庣粏id +demand_change_id = result["data"][0]["demandChangeId"] + +# 绗洓姝ユ煡鐪嬫槑缁嗗垪琛ㄤ腑璁㈠崟鍙樺姩鏄庣粏璇︽儏 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url17") +request_body = commonFuc().get_business_data(module, "payload17", demand_change_id) + +""" + 鍦烘櫙: 鑾峰彇璁㈠崟鍙樺姩鏄庣粏楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曞彉鍔ㄦ槑缁嗛獙璇� + 杈撳嚭锛歿"demandChangeId":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏄庣粏demandChangeId +result = {"demandChangeId": result["data"]["list"][0]["demandChangeId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict17", demand_change_id) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\346\224\257\344\273\230\351\207\221\351\242\235\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\346\224\257\344\273\230\351\207\221\351\242\235\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\346\224\257\344\273\230\351\207\221\351\242\235\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\346\224\257\344\273\230\351\207\221\351\242\235\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..c546b114472fd6b38d31a30f5e579ed599d5e81b --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\346\224\257\344\273\230\351\207\221\351\242\235\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\346\224\257\344\273\230\351\207\221\351\242\235\351\252\214\350\257\201.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟鏀粯閲戦楠岃瘉,2289,2289-28,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏀粯椤甸潰鑾峰彇璁㈠崟鏀粯閲戦鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload27_1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +code = result["data"]["list"][random_demand]["demandParentCode"] +customer_charge = result["data"]["list"][random_demand]["customerCharge"] + +# 绗笁姝ヨ幏鍙栨敮浠橀〉闈㈣鍗曟敮浠橀噾棰� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url28") +request_body = commonFuc().get_business_data(module, "payload28", code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇璁㈠崟鏀粯閲戦楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曟敮浠橀噾棰濋獙璇� + 杈撳嚭锛歿"customerCharge":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇闇€姹傚崟瀵瑰簲鐨勫鎴锋姌鎵� +result = {"customerCharge": result["data"]["customerCharge"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict28", customer_charge) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\346\225\260\346\215\256\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.air/\350\216\267\345\217\226\350\256\242\345\215\225\346\225\260\346\215\256\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\346\225\260\346\215\256\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.air/\350\216\267\345\217\226\350\256\242\345\215\225\346\225\260\346\215\256\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.py" new file mode 100644 index 0000000000000000000000000000000000000000..87daa22ca52da3a4851f5976d94ff39619c62ae1 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\346\225\260\346\215\256\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.air/\350\216\267\345\217\226\350\256\242\345\215\225\346\225\260\346\215\256\351\252\214\350\257\201_\350\256\242\345\215\225\344\277\256\346\224\271.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟鏁版嵁楠岃瘉_璁㈠崟淇敼,2289,2289-22,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟缂栬緫鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload20_1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" + + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勫瓙鍗曡鎯� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url20") +request_body = commonFuc().get_business_data(module, "payload20", demand_id) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇璁㈠崟鏁版嵁楠岃瘉_璁㈠崟淇敼 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曟暟鎹獙璇乢璁㈠崟淇敼 + 杈撳嚭锛歿"success":true,"code":"200","message":"鏌ヨ鎴愬姛"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict20") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\347\261\273\345\236\213\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\347\261\273\345\236\213\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\347\261\273\345\236\213\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\347\261\273\345\236\213\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..0364fa095d6ca1a238b1d81aa26f9b144e89232e --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\350\256\242\345\215\225\347\261\273\345\236\213\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\350\256\242\345\215\225\347\261\273\345\236\213\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,32 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟绫诲瀷鎺ュ彛楠岃瘉,2289,2289-6,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃璁㈠崟绫诲瀷鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_demand_mall" + +# 绗簩姝ヨ幏鍙栫珯鐐逛俊鎭� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url6") +request_body = commonFuc().get_business_data(module, "payload6") +""" + 鍦烘櫙: 楠岃瘉澶氶噰鍟嗗煄闇€姹傚崟绠$悊鍒楄〃锛岃幏鍙栬鍗曠被鍨嬫帴鍙h繛閫氭€� + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曠被鍨嬫帴鍙i獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict6") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\224\200\345\224\256\350\256\242\345\215\225\345\220\210\345\220\214\351\205\215\347\275\256\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\224\200\345\224\256\350\256\242\345\215\225\345\220\210\345\220\214\351\205\215\347\275\256\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\224\200\345\224\256\350\256\242\345\215\225\345\220\210\345\220\214\351\205\215\347\275\256\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\224\200\345\224\256\350\256\242\345\215\225\345\220\210\345\220\214\351\205\215\347\275\256\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..a5a8ab862560fcedd09d266af100387fc67f6a1a --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\224\200\345\224\256\350\256\242\345\215\225\345\220\210\345\220\214\351\205\215\347\275\256\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\224\200\345\224\256\350\256\242\345\215\225\345\220\210\345\220\214\351\205\215\347\275\256\351\252\214\350\257\201.py" @@ -0,0 +1,60 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇璁㈠崟閿€鍞悎鍚岄厤缃獙璇�,2289,2289-17,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇璁㈠崟閿€鍞悎鍚屾帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" + + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勯攢鍞悎鍚岄厤缃� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url15") +request_body = commonFuc().get_business_data(module, "payload15", demand_id) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇璁㈠崟閿€鍞悎鍚岄厤缃獙璇� + 鐢ㄤ緥鍚嶇О锛氳幏鍙栬鍗曢攢鍞悎鍚岄厤缃獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict15") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\210\227\350\241\250\346\230\216\347\273\206_\346\224\257\344\273\230\351\241\265\351\235\242.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\210\227\350\241\250\346\230\216\347\273\206_\346\224\257\344\273\230\351\241\265\351\235\242.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\210\227\350\241\250\346\230\216\347\273\206_\346\224\257\344\273\230\351\241\265\351\235\242.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\210\227\350\241\250\346\230\216\347\273\206_\346\224\257\344\273\230\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..6f15740398f8d3fb96a33bbbab3697ce756daebf --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\210\227\350\241\250\346\230\216\347\273\206_\346\224\257\344\273\230\351\241\265\351\235\242.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\210\227\350\241\250\346\230\216\347\273\206_\346\224\257\344\273\230\351\241\265\351\235\242.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇闇€姹傚垪琛ㄦ槑缁哶鏀粯椤甸潰,2289,2289-27,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏀粯椤甸潰鑾峰彇闇€姹傚垪琛ㄦ槑缁嗘帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload27_1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_parent_code = result["data"]["list"][random_demand]["demandParentCode"] + +# 绗笁姝ヨ幏鍙栨敮浠橀〉闈㈤渶姹傚崟鍒楄〃鏄庣粏 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url27") +request_body = commonFuc().get_business_data(module, "payload27", demand_parent_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇闇€姹傚垪琛ㄦ槑缁哶鏀粯椤甸潰 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栭渶姹傚垪琛ㄦ槑缁哶鏀粯椤甸潰 + 杈撳嚭锛歿"demandParentCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇闇€姹傚崟璇︽儏涓璬emandParentCode +result = {"demandParentCode": result["data"]["list"][0]["demandParentCode"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict27", demand_parent_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\345\210\227\350\241\250\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\345\210\227\350\241\250\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..07becf65055cfcb670c1976a6ed90ed30494920f --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\345\210\227\350\241\250\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\345\210\227\350\241\250\351\252\214\350\257\201.py" @@ -0,0 +1,66 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇闇€姹傚崟瀛愬崟鍒楄〃楠岃瘉,2289,2289-15,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇闇€姹傚崟瀛愬崟鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] +# demand_code = "17022496982880461" +demand_parent_code = result["data"]["list"][random_demand]["demandParentCode"] +# demand_parent_code = "17022496982880461" + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲瀛愬崟鍒楄〃 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url13") +request_body = commonFuc().get_business_data(module, "payload13", demand_code, demand_parent_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇闇€姹傚崟瀛愬崟鍒楄〃楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栭渶姹傚崟瀛愬崟鍒楄〃楠岃瘉 + 杈撳嚭锛歿"demandSubCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +if result["data"]["list"]: + result = {"demandSubCode": result["data"]["list"][0]["demandSubCode"]} + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict13", demand_parent_code) + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict13_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..716aaa8c50782b324868a6e6670c1b63f60fa55d --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\345\255\220\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.py" @@ -0,0 +1,65 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇闇€姹傚崟瀛愬崟璇︽儏楠岃瘉,2289,2289-16,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇闇€姹傚崟瀛愬崟璇︽儏鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" + + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勫瓙鍗曡鎯� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url14") +request_body = commonFuc().get_business_data(module, "payload14", demand_id) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇闇€姹傚崟瀛愬崟璇︽儏楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栭渶姹傚崟瀛愬崟璇︽儏楠岃瘉 + 杈撳嚭锛歿"success":true,"code":"200","message":"璇锋眰鎴愬姛锛屽睍绀烘搷浣滄祦姘�"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) +if result["data"]: + result = {"demandId": result["data"][0]["demandId"]} + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict14", demand_id) + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict14_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\346\223\215\344\275\234\350\256\260\345\275\225\344\277\241\346\201\257\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\346\223\215\344\275\234\350\256\260\345\275\225\344\277\241\346\201\257\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\346\223\215\344\275\234\350\256\260\345\275\225\344\277\241\346\201\257\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\346\223\215\344\275\234\350\256\260\345\275\225\344\277\241\346\201\257\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..b10f44604e1d549fd42ce85c839ea11e64fc6760 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\346\223\215\344\275\234\350\256\260\345\275\225\344\277\241\346\201\257\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\346\223\215\344\275\234\350\256\260\345\275\225\344\277\241\346\201\257\351\252\214\350\257\201.py" @@ -0,0 +1,56 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇闇€姹傚崟鎿嶄綔璁板綍淇℃伅楠岃瘉,2289,2289-13,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇闇€姹傚崟瀵瑰簲鐨勬搷浣滆褰曟帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] +demand_parent_code = result["data"]["list"][random_demand]["demandParentCode"] + +# 绗笁姝ヨ幏鍙栭渶姹傚崟瀵瑰簲鐨勬搷浣滆褰� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url12") +request_body = commonFuc().get_business_data(module, "payload12", demand_code, demand_parent_code) +# print(request_body) +""" + 鍦烘櫙: 鑾峰彇闇€姹傚崟鎿嶄綔璁板綍淇℃伅楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栭渶姹傚崟鎿嶄綔璁板綍淇℃伅楠岃瘉 + 杈撳嚭锛歿"success":true,"code":"200","message":"璇锋眰鎴愬姛锛屽睍绀烘搷浣滄祦姘�"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict12") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..ef0b693a7e0143bb362dde24360ad53811a13444 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.air/\350\216\267\345\217\226\351\234\200\346\261\202\345\215\225\350\257\246\346\203\205\351\252\214\350\257\201.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇闇€姹傚崟璇︽儏楠岃瘉,2289,2289-9,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇闇€姹傚崟璇︽儏鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_parent_code = result["data"]["list"][random_demand]["demandParentCode"] +demand_code = result["data"]["list"][random_demand]["demandCode"] + +# 绗笁姝ュ湪闇€姹傚崟鍒楄〃杩涜闇€姹傚崟鏌ヨ鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url8") +request_body = commonFuc().get_business_data(module, "payload8", demand_parent_code, demand_code) +# print(request_body) +""" + 鍦烘櫙: 楠岃瘉鏄惁鍙互姝e父鑾峰彇鍒伴渶姹傚崟璇︽儏 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栭渶姹傚崟璇︽儏楠岃瘉 + 杈撳嚭锛歿"demandCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇闇€姹傚崟璇︽儏涓鍗曠紪鍙� +result = {"demandCode": result["data"]["demandHead"]["demandCode"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict8", demand_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\247\243\351\231\244\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275\351\252\214\350\257\201.air/\350\247\243\351\231\244\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\247\243\351\231\244\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275\351\252\214\350\257\201.air/\350\247\243\351\231\244\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..779b0ff2e4023b2fab109253ba68aa652f914857 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\247\243\351\231\244\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275\351\252\214\350\257\201.air/\350\247\243\351\231\244\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -0,0 +1,57 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc瑙i櫎璁㈠崟鍗犵敤鍔熻兘楠岃瘉,2289,2289-24,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟瑙i櫎璁㈠崟鍗犵敤鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" + + +# 绗笁姝ヨВ闄よ鍗曞崰鐢� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url24") +request_body = commonFuc().get_business_data(module, "payload24", demand_id) +# print(request_body) +""" + 鍦烘櫙: 瑙i櫎璁㈠崟鍗犵敤鍔熻兘楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳В闄よ鍗曞崰鐢ㄥ姛鑳介獙璇� + 杈撳嚭锛歿"success":true,"code":"200","message":"OK","data":"0"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict24") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\256\242\345\215\225\344\277\256\346\224\271\345\212\237\350\203\275\351\252\214\350\257\201.air/\350\256\242\345\215\225\344\277\256\346\224\271\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\350\256\242\345\215\225\344\277\256\346\224\271\345\212\237\350\203\275\351\252\214\350\257\201.air/\350\256\242\345\215\225\344\277\256\346\224\271\345\212\237\350\203\275\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..c12523de0bb605cc180fa69e26d009f6a9f6f3ae --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\256\242\345\215\225\344\277\256\346\224\271\345\212\237\350\203\275\351\252\214\350\257\201.air/\350\256\242\345\215\225\344\277\256\346\224\271\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -0,0 +1,43 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc璁㈠崟淇敼鍔熻兘楠岃瘉,2289,2289-25,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟缂栬緫鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url25") +request_body = commonFuc().get_business_data(module, "payload25") +# print(request_body) +""" + 鍦烘櫙: 璁㈠崟淇敼鍔熻兘楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氳鍗曚慨鏀瑰姛鑳介獙璇� + 杈撳嚭锛歿"demandCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict25") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\350\256\242\345\215\225\345\257\274\345\207\272\345\212\237\350\203\275\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.air/\350\256\242\345\215\225\345\257\274\345\207\272\345\212\237\350\203\275\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" "b/air_case/cmdc_demand_mall/\350\256\242\345\215\225\345\257\274\345\207\272\345\212\237\350\203\275\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.air/\350\256\242\345\215\225\345\257\274\345\207\272\345\212\237\350\203\275\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" new file mode 100644 index 0000000000000000000000000000000000000000..bffd36d8a91c71890260e9ff83fb93fdfef15387 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\350\256\242\345\215\225\345\257\274\345\207\272\345\212\237\350\203\275\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.air/\350\256\242\345\215\225\345\257\274\345\207\272\345\212\237\350\203\275\351\252\214\350\257\201_\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250.py" @@ -0,0 +1,71 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc璁㈠崟瀵煎嚭鍔熻兘楠岃瘉_闇€姹傚崟鍒楄〃,2289,2289-8,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃璁㈠崟瀵煎嚭鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.handle_excel import HandleExcel +import requests +import random +import json +import os + + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +order_num = result["data"]["list"][random_demand]["demandCode"] + +# 绗笁姝ラ渶姹傚崟鍒楄〃杩涜璁㈠崟瀵煎嚭鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url21") +request_body = commonFuc().get_business_data(module, "payload21", order_num) +# print(request_body) +""" + 鍦烘櫙: 楠岃瘉澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃璁㈠崟瀵煎嚭鍔熻兘 + 鐢ㄤ緥鍚嶇О锛氳鍗曞鍑哄姛鑳介獙璇乢闇€姹傚崟鍒楄〃 + 杈撳嚭锛歿"demandCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +# result = json.loads(result.content) +# print(result) + +# 鑾峰彇鏂囦欢 +BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +file_path = BASE_DIR + "/data/cmdc_files/闇€姹傚崟绠$悊鍒楄〃.xlsx" + +# 鑾峰彇鍒板鍑烘枃浠跺瓨鍏mdc_files鏂囦欢涓� +with open(file_path, 'wb') as f: + f.write(result.content) + +# 鑾峰彇鏂囦欢涓鍗曠紪鍙� +excel = HandleExcel(file_path, "Sheet1") +result = {"demandCode": excel.read_data()[0].get("璁㈠崟缂栧彿")} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict21", order_num) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250\350\216\267\345\217\226\346\216\245\345\217\243\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250\350\216\267\345\217\226\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250\350\216\267\345\217\226\346\216\245\345\217\243\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250\350\216\267\345\217\226\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..a9af44b7ec301cb76ece06d4936ff00366cbc03f --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250\350\216\267\345\217\226\346\216\245\345\217\243\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\210\227\350\241\250\350\216\267\345\217\226\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,42 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc闇€姹傚崟鍒楄〃鑾峰彇鎺ュ彛楠岃瘉,2289,2289-1,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鑾峰彇鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") + +""" + 鍦烘櫙: 楠岃瘉鑾峰彇闇€姹傚崟鍒楄〃鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氶渶姹傚崟鍒楄〃鑾峰彇鎺ュ彛楠岃瘉 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict1") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\217\226\346\266\210\345\212\237\350\203\275\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\217\226\346\266\210\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\217\226\346\266\210\345\212\237\350\203\275\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\217\226\346\266\210\345\212\237\350\203\275\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..a757421a2b5bbeb806dafa01d66a18f4182a5d55 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\217\226\346\266\210\345\212\237\350\203\275\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\217\226\346\266\210\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -0,0 +1,63 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc闇€姹傚崟鍙栨秷鍔熻兘楠岃瘉,2289,2289-14,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍙栨秷鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 绗簩姝ヨ繘琛岄渶姹傚崟鍙栨秷鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url23") +request_body = commonFuc().get_business_data(module, "payload23") +# print(request_body) +""" + 鍦烘櫙: 闇€姹傚崟鍙栨秷鍔熻兘楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氶渶姹傚崟鍙栨秷鍔熻兘楠岃瘉 + 杈撳嚭锛歿"orderStatus":201} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +print(result) +if result["success"]: + # 鏌ヨ闇€姹傚崟鐘舵€� + sql = "SELECT t.orderStatus FROM `cmdc-order`.tc_demand t WHERE t.demandId = 40213" + result = {"orderStatus": mysql_handle.selectSql(host, port, user, pwd, "cmdc-order", sql)[0][0]} + # print(result) + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict23") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict23_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) + +# 杩涜闇€姹傚崟鐘舵€佽皟鏁翠负寰呭鏍告搷浣� +sql = "UPDATE `cmdc-order`.tc_demand t SET t.orderStatus = 102, t.auditStatus = 0 WHERE t.demandId = 40213" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-order", sql) \ No newline at end of file diff --git "a/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\225\206\345\223\201\350\277\224\345\210\251\346\230\216\347\273\206\350\216\267\345\217\226\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\225\206\345\223\201\350\277\224\345\210\251\346\230\216\347\273\206\350\216\267\345\217\226\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\225\206\345\223\201\350\277\224\345\210\251\346\230\216\347\273\206\350\216\267\345\217\226\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\225\206\345\223\201\350\277\224\345\210\251\346\230\216\347\273\206\350\216\267\345\217\226\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..539b90794783d1d1d6bfdafe09dc69de772711a4 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\345\225\206\345\223\201\350\277\224\345\210\251\346\230\216\347\273\206\350\216\267\345\217\226\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\345\225\206\345\223\201\350\277\224\345\210\251\346\230\216\347\273\206\350\216\267\345\217\226\351\252\214\350\257\201.py" @@ -0,0 +1,58 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc闇€姹傚崟鍟嗗搧杩斿埄鏄庣粏鑾峰彇楠岃瘉,2289,2289-26,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇闇€姹傚崟鍟嗗搧杩斿埄鏄庣粏鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_code = result["data"]["list"][random_demand]["demandCode"] +# demand_code = "16974216158935068" + +# 绗洓姝ユ煡鐪嬮渶姹傚崟涓晢鍝佸搴旂殑杩斿埄鏄庣粏 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url26") +request_body = commonFuc().get_business_data(module, "payload26", demand_code) + +""" + 鍦烘櫙: 闇€姹傚崟鍟嗗搧杩斿埄鏄庣粏鑾峰彇楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氶渶姹傚崟鍟嗗搧杩斿埄鏄庣粏鑾峰彇楠岃瘉 + 杈撳嚭锛歿"demandCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇杩斿埄鏄庣粏涓璬emandCode +result = {"demandCode": result["data"][0]["demandCode"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict26", demand_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\351\224\200\345\224\256\345\220\210\345\220\214\344\270\213\350\275\275\345\212\237\350\203\275\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\351\224\200\345\224\256\345\220\210\345\220\214\344\270\213\350\275\275\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\351\224\200\345\224\256\345\220\210\345\220\214\344\270\213\350\275\275\345\212\237\350\203\275\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\351\224\200\345\224\256\345\220\210\345\220\214\344\270\213\350\275\275\345\212\237\350\203\275\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..88812b773822c207c9bd28cb89812649897cb9c3 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\234\200\346\261\202\345\215\225\351\224\200\345\224\256\345\220\210\345\220\214\344\270\213\350\275\275\345\212\237\350\203\275\351\252\214\350\257\201.air/\351\234\200\346\261\202\345\215\225\351\224\200\345\224\256\345\220\210\345\220\214\344\270\213\350\275\275\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -0,0 +1,76 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc闇€姹傚崟閿€鍞悎鍚屼笅杞藉姛鑳介獙璇�,2289,2289-23,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟閿€鍞悎鍚屼笅杞芥帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.handle_excel import HandleExcel +import requests +import random +import json +import os + + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload22_1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" +demand_code = result["data"]["list"][random_demand]["demandCode"] + + +# 绗笁姝ヨ繘琛岄渶姹傚崟閿€鍞悎鍚屼笅杞� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url22") +request_body = commonFuc().get_business_data(module, "payload22", demand_id) +# print(request_body) +""" + 鍦烘櫙: 闇€姹傚崟閿€鍞悎鍚屼笅杞藉姛鑳介獙璇� + 鐢ㄤ緥鍚嶇О锛氶渶姹傚崟閿€鍞悎鍚屼笅杞藉姛鑳介獙璇� + 杈撳嚭锛歿"demandCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +# result = json.loads(result.content) +# print(result) + +# 鑾峰彇鏂囦欢 +BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +file_path = BASE_DIR + "/data/cmdc_files/閿€鍞悎鍚屽鍑�.xlsx" + +# 鑾峰彇鍒板鍑烘枃浠跺瓨鍏mdc_files鏂囦欢涓� +with open(file_path, 'wb') as f: + f.write(result.content) + +# 鑾峰彇閿€鍞悎鍚屾枃浠朵腑鍚堝悓缂栧彿 +excel = HandleExcel(file_path, "Sheet1") +result = {"demandCode": excel.read_data()[0].get("鍖荤枟鍣ㄦ浜у搧閿€鍞悎鍚� ")[-17:]} +print(excel.read_data()[0].get("鍖荤枟鍣ㄦ浜у搧閿€鍞悎鍚� ")) +print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict22", demand_code) +print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275.air/\351\252\214\350\257\201\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275.py" "b/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275.air/\351\252\214\350\257\201\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275.py" new file mode 100644 index 0000000000000000000000000000000000000000..7b8aee52539572169ce3abf30b0623323a0e56b7 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275.air/\351\252\214\350\257\201\350\256\242\345\215\225\345\215\240\347\224\250\345\212\237\350\203\275.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉璁㈠崟鍗犵敤鍔熻兘,2289,2289-21,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄楠岃瘉璁㈠崟鏄惁琚崰鐢ㄦ帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" + + +# 绗笁姝ュ垽鏂渶姹傚崟鏄惁琚崰鐢� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url19") +request_body = commonFuc().get_business_data(module, "payload19", demand_id) +# print(request_body) +""" + 鍦烘櫙: 楠岃瘉璁㈠崟鍗犵敤鍔熻兘 + 鐢ㄤ緥鍚嶇О锛氶獙璇佽鍗曞崰鐢ㄥ姛鑳� + 杈撳嚭锛歿"success":true,"code":"200","message":"璇锋眰鎴愬姛锛屽睍绀烘搷浣滄祦姘�"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +print(result) + +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict19") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\345\267\262\346\224\257\344\273\230.air/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\345\267\262\346\224\257\344\273\230.py" "b/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\345\267\262\346\224\257\344\273\230.air/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\345\267\262\346\224\257\344\273\230.py" new file mode 100644 index 0000000000000000000000000000000000000000..467fcf36685fd267328bab4d1c59f928820bcff2 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\345\267\262\346\224\257\344\273\230.air/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\345\267\262\346\224\257\344\273\230.py" @@ -0,0 +1,63 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉璁㈠崟鏄惁宸叉敮浠�,2289,2289-35,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇璁㈠崟鏀粯鐘舵€佹帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_parent_code = result["data"]["list"][random_demand]["demandParentCode"] +proof_sign = result["data"]["list"][random_demand]["proofSign"] + +# 绗笁姝ュ湪闇€姹傚崟鍒楄〃杩涜闇€姹傚崟鏌ヨ鎿嶄綔 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url36") +request_body = commonFuc().get_business_data(module, "payload36", demand_parent_code) +# print(request_body) +""" + 鍦烘櫙: 楠岃瘉璁㈠崟鏄惁宸叉敮浠� + 鐢ㄤ緥鍚嶇О锛氶獙璇佽鍗曟槸鍚﹀凡鏀粯 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK","data":0} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +if proof_sign: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict36") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict36_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\350\242\253\345\215\240\347\224\250.air/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\350\242\253\345\215\240\347\224\250.py" "b/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\350\242\253\345\215\240\347\224\250.air/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\350\242\253\345\215\240\347\224\250.py" new file mode 100644 index 0000000000000000000000000000000000000000..e9b49d231bcb99c5445791121f0ff0d9a24d37d5 --- /dev/null +++ "b/air_case/cmdc_demand_mall/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\350\242\253\345\215\240\347\224\250.air/\351\252\214\350\257\201\350\256\242\345\215\225\346\230\257\345\220\246\350\242\253\345\215\240\347\224\250.py" @@ -0,0 +1,57 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉璁㈠崟鏄惁琚崰鐢�,2289,2289-36,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄楠岃瘉璁㈠崟鏄惁琚崰鐢ㄦ帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_demand_mall" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鐢熸垚闅忔満鏁� +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] +# demand_id = "40187" + + +# 绗笁姝ヨВ闄よ鍗曞崰鐢� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url37") +request_body = commonFuc().get_business_data(module, "payload37", demand_id) +# print(request_body) +""" + 鍦烘櫙: 楠岃瘉璁㈠崟鏄惁琚崰鐢� + 鐢ㄤ緥鍚嶇О锛氶獙璇佽鍗曟槸鍚﹁鍗犵敤 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK","data":"0"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict37") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_fresenius_group/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.air/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.py" "b/air_case/cmdc_fresenius_group/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.air/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.py" index df1477dddbece84acbd2f985b9121e5e58b6a82a..67f076ab57ff6b61e5ac661c3bcd61e1e0319b14 100644 --- "a/air_case/cmdc_fresenius_group/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.air/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.py" +++ "b/air_case/cmdc_fresenius_group/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.air/\345\245\227\345\214\205\346\233\264\346\226\260_\345\245\227\345\214\205\345\206\205\345\225\206\345\223\201\351\234\200\346\273\241\350\266\263\345\220\214\344\270\200\344\272\247\345\223\201\347\272\277.py" @@ -51,8 +51,16 @@ request_body = group_json # 鍙戦€佽姹� result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) - -# 鑾峰彇棰勬湡缁撴灉 -check_dict = commonFuc().get_business_data(module, "checkDict16") -# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 -commonFuc().check_result(check_dict, result) +# print(result) +if result["success"]: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict16_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict16") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_e.air/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_e.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_e.air/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_e.py" new file mode 100644 index 0000000000000000000000000000000000000000..98b680e98d9b0233d11cfe9b22311da78601c0ac --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_e.air/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_e.py" @@ -0,0 +1,54 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧jde鍋滅敤鎷︽埅楠岃瘉_涓嬪崟,2288,2288-29,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鎻愪氦璁㈠崟鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 杩涜鍟嗗搧jde鐘舵€佽皟鏁翠负鍋滅敤鎿嶄綔 +sql = "UPDATE `cmdc-product`.ic_product t SET t.jdeStatus = '0' WHERE t.productId = 7991" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) + +# 绗簩姝ヨ繘琛屾彁浜よ鍗� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url19") +request_body = commonFuc().get_business_data(module, "payload19") + +""" + 鍦烘櫙: 楠岃瘉涓嬪崟鏃讹紝鍖呭惈鐨勫晢鍝乯de鐘舵€佸仠鐢ㄦ椂锛屾槸鍚︽嫤鎴垚鍔� + 鐢ㄤ緥鍚嶇О锛氬晢鍝乯de鍋滅敤鎷︽埅楠岃瘉_涓嬪崟 + 杈撳嚭锛歿"message": "鍟嗗搧璇佺収鏍¢獙閿欒"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +print(result) +# 鑾峰彇message +result = {"message": result["message"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict19") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.air/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.air/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.py" new file mode 100644 index 0000000000000000000000000000000000000000..d42f06d0f41e86b4047f09d6ac284a19fc97f9ee --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.air/\345\225\206\345\223\201jde\345\201\234\347\224\250\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.py" @@ -0,0 +1,66 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧jde鍋滅敤鎷︽埅楠岃瘉_鍐嶆潵涓€鍗�,2288,2288-30,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鍐嶆潵涓€鍗曡幏鍙栧師璁㈠崟淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 鏌ヨ鎸囧畾闇€姹傚崟淇℃伅 +order_num = "17018438457347575" + +# 绗簩姝ヨ幏鍙栧閲囧晢鍩庨渶姹傚崟鍒楄〃 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_demand_list") +request_body = commonFuc().get_business_data(module, "payload_demand_list", order_num) +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][0]["demandId"] + +# 绗笁姝ヨ繘琛屽啀鏉ヤ竴鍗曟搷浣� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url20") +request_body = commonFuc().get_business_data(module, "payload20", demand_id) + +""" + 鍦烘櫙: 楠岃瘉浣跨敤鍐嶆潵涓€鍗曞姛鑳芥椂锛屽師璁㈠崟涓晢鍝乯de宸插仠鐢紝鏄惁杩涜鎷︽埅鎻愰啋 + 鐢ㄤ緥鍚嶇О锛氬晢鍝乯de鍋滅敤鎷︽埅楠岃瘉_鍐嶆潵涓€鍗� + 杈撳嚭锛歿"success":false,"code":"ERROR","message":"褰撳墠璁㈠崟鏃犳湁鏁堝晢鍝�","data":null,"freshToken":null} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict20") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + +# 鎶婂晢鍝佸搴旂殑jde鐘舵€佽皟鏁翠负鍚敤鐘舵€佹搷浣� +sql = "UPDATE `cmdc-product`.ic_product t SET t.jdeStatus = 'P' WHERE t.productId = 7991" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_a.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_a.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_a.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_a.py" new file mode 100644 index 0000000000000000000000000000000000000000..a4d30188dee3a8b7f7fdd65ac391660a8ec9b9e3 --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_a.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_a.py" @@ -0,0 +1,54 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧涓嬫灦鎷︽埅楠岃瘉_涓嬪崟,2288,2288-24,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鎻愪氦璁㈠崟鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 杩涜鍟嗗搧涓嬫灦鎿嶄綔 +sql = "UPDATE `cmdc-product`.ic_product t SET t.status = 102 WHERE t.productId = 7991" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) + +# 绗簩姝ヨ繘琛屾彁浜よ鍗� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url19") +request_body = commonFuc().get_business_data(module, "payload19") + +""" + 鍦烘櫙: 楠岃瘉涓嬪崟鏃讹紝鍟嗗搧涓嬫灦锛屾槸鍚﹁繘琛屾嫤鎴� + 鐢ㄤ緥鍚嶇О锛氬晢鍝佷笅鏋舵嫤鎴獙璇� + 杈撳嚭锛歿"message": "鍟嗗搧璇佺収鏍¢獙閿欒"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇message +result = {"message": result["message"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict19") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_b.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_b.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_b.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_b.py" new file mode 100644 index 0000000000000000000000000000000000000000..935c69e82028183a53027e4d2dee85396520dd9a --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_b.air/\345\225\206\345\223\201\344\270\213\346\236\266\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_b.py" @@ -0,0 +1,66 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧涓嬫灦鎷︽埅楠岃瘉_鍐嶆潵涓€鍗�,2288,2288-24,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鍐嶆潵涓€鍗曡幏鍙栧師璁㈠崟淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 鏌ヨ鎸囧畾闇€姹傚崟淇℃伅 +order_num = "17018438457347575" + +# 绗簩姝ヨ幏鍙栧閲囧晢鍩庨渶姹傚崟鍒楄〃 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_demand_list") +request_body = commonFuc().get_business_data(module, "payload_demand_list", order_num) +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][0]["demandId"] + +# 绗笁姝ヨ繘琛屽啀鏉ヤ竴鍗曟搷浣� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url20") +request_body = commonFuc().get_business_data(module, "payload20", demand_id) + +""" + 鍦烘櫙: 楠岃瘉浣跨敤鍐嶆潵涓€鍗曞姛鑳芥椂锛屽師璁㈠崟涓晢鍝佸凡涓嬫灦锛屾槸鍚﹁繘琛屾嫤鎴彁閱� + 鐢ㄤ緥鍚嶇О锛氬晢鍝佷笅鏋舵嫤鎴獙璇乢鍐嶆潵涓€鍗� + 杈撳嚭锛歿"success":false,"code":"ERROR","message":"褰撳墠璁㈠崟鏃犳湁鏁堝晢鍝�","data":null,"freshToken":null} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict20") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + +# 杩涜鍟嗗搧涓婃灦鏋舵搷浣� +sql = "UPDATE `cmdc-product`.ic_product t SET t.status = 101 WHERE t.productId = 7991" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) \ No newline at end of file diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201\346\270\205\345\215\225\350\216\267\345\217\226\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\345\225\206\345\223\201\346\270\205\345\215\225\350\216\267\345\217\226\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\346\270\205\345\215\225\350\216\267\345\217\226\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\345\225\206\345\223\201\346\270\205\345\215\225\350\216\267\345\217\226\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..07b575c1a0e67da12d23225d780d09710f0a92a3 --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\346\270\205\345\215\225\350\216\267\345\217\226\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\345\225\206\345\223\201\346\270\205\345\215\225\350\216\267\345\217\226\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,34 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧娓呭崟鑾峰彇楠岃瘉_缁撶畻椤甸潰,2288,2288-19,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鍟嗗搧娓呭崟鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_order_handle" + +# 鑾峰彇鍟嗗搧娓呭崟淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url15") +request_body = commonFuc().get_business_data(module, "payload15") + +""" + + 鍦烘櫙: 鍟嗗搧娓呭崟鑾峰彇楠岃瘉_缁撶畻椤甸潰 + 鐢ㄤ緥鍚嶇О锛氬晢鍝佹竻鍗曡幏鍙栭獙璇乢缁撶畻椤甸潰 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict15") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\344\270\213\345\215\225_e.air/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\344\270\213\345\215\225_e.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\344\270\213\345\215\225_e.air/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\344\270\213\345\215\225_e.py" new file mode 100644 index 0000000000000000000000000000000000000000..6999df77b3dec3f1cb4574b16d38179e75de8039 --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\344\270\213\345\215\225_e.air/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\344\270\213\345\215\225_e.py" @@ -0,0 +1,58 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鍟嗗搧閲戦璋冩暣楠岃瘉_涓嬪崟,2288,2288-28,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鎻愪氦璁㈠崟鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import random +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 鐢熸垚闅忔満鏁板瓧鐢ㄤ簬鍟嗗搧閲戦 +amount_product = float(random.randint(100, 1000)) +# print(amount_product) +# 杩涜鍟嗗搧閲戦璋冩暣鎿嶄綔 +sql = "UPDATE `cmdc-product`.ic_product t SET t.referencePrice = {} WHERE t.productId = 7991".format(amount_product) +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) + +# 绗簩姝ヨ繘琛屾彁浜よ鍗� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url19") +request_body = commonFuc().get_business_data(module, "payload19") + +""" + 鍦烘櫙: 楠岃瘉杩涜璁㈠崟鎻愪氦鏃讹紝淇敼鍟嗗搧閲戦锛岃鍗曟槸鍚︽寜淇敼鍓嶅晢鍝侀噾棰濊绠� + 鐢ㄤ緥鍚嶇О锛氬晢鍝侀噾棰濊皟鏁撮獙璇乢涓嬪崟 + 杈撳嚭锛歿"productAmount":"48.25"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇璁㈠崟涓晢鍝侀噾棰� +result = {"productAmount": result["data"]["鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃"]["productAmount"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict22") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.air/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.py" "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.air/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.py" new file mode 100644 index 0000000000000000000000000000000000000000..204c4b793766697903b4bc5b26fe63ef2c6df12c --- /dev/null +++ "b/air_case/cmdc_order_handle/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.air/\345\225\206\345\223\201\351\207\221\351\242\235\350\260\203\346\225\264\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_e.py" @@ -0,0 +1,75 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +import random + +""" +case_tag:cmdc_api,cmdc鍟嗗搧閲戦璋冩暣楠岃瘉_鍐嶆潵涓€鍗�,2288,2288-27,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鍐嶆潵涓€鍗曡幏鍙栧師璁㈠崟淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 鐢熸垚闅忔満鏁板瓧鐢ㄤ簬鍟嗗搧閲戦 +amount_product = float(random.randint(100, 1000)) +# print(amount_product) +# 杩涜鍟嗗搧閲戦璋冩暣鎿嶄綔 +sql = "UPDATE `cmdc-product`.ic_product t SET t.referencePrice = {} WHERE t.productId = 7991".format(amount_product) +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) + +# 鏌ヨ鎸囧畾闇€姹傚崟淇℃伅 +order_num = "17018438457347575" + +# 绗簩姝ヨ幏鍙栧閲囧晢鍩庨渶姹傚崟鍒楄〃 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_demand_list") +request_body = commonFuc().get_business_data(module, "payload_demand_list", order_num) +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][0]["demandId"] + +# 绗笁姝ヨ繘琛屽啀鏉ヤ竴鍗曟搷浣� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url20") +request_body = commonFuc().get_business_data(module, "payload20", demand_id) + +""" + 鍦烘櫙: 楠岃瘉褰撳師璁㈠崟涓晢鍝佷环鏍艰淇敼鍚庯紝鍐嶆潵涓€鍗曚腑鍟嗗搧閲戦鏄惁璋冩暣涓烘渶鏂伴噾棰� + 鐢ㄤ緥鍚嶇О锛氬晢鍝侀噾棰濊皟鏁撮獙璇乢鍐嶆潵涓€鍗� + 杈撳嚭锛歿"productAmount":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇璁㈠崟涓晢鍝侀噾棰� +result = {"productAmount": result["data"]["鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃"]["datas"][0]["productAmount"]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict21", amount_product) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_c.air/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_c.py" "b/air_case/cmdc_order_handle/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_c.air/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_c.py" new file mode 100644 index 0000000000000000000000000000000000000000..c8e9473edc2d5708cac4ab0aa1cb0b3cc5cdcd18 --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_c.air/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\344\270\213\345\215\225_c.py" @@ -0,0 +1,54 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鎺ч攢鍟嗗搧鎷︽埅楠岃瘉_涓嬪崟,2288,2288-26,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鎻愪氦璁㈠崟鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 杩涜鍟嗗搧鎺ч攢鎿嶄綔 +sql = "UPDATE `cmdc-product`.ic_product t SET t.isControlSales = 1 WHERE t.productId = 7991" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) + +# 绗簩姝ヨ繘琛屾彁浜よ鍗� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url19") +request_body = commonFuc().get_business_data(module, "payload19") + +""" + 鍦烘櫙: 楠岃瘉涓嬪崟鏃讹紝鍖呭惈鎺ч攢鍟嗗搧锛屾槸鍚﹁繘琛屾嫤鎴� + 鐢ㄤ緥鍚嶇О锛氭帶閿€鍟嗗搧鎷︽埅楠岃瘉 + 杈撳嚭锛歿"message": "鍟嗗搧璇佺収鏍¢獙閿欒"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇message +result = {"message": result["message"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict19") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_d.air/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_d.py" "b/air_case/cmdc_order_handle/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_d.air/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_d.py" new file mode 100644 index 0000000000000000000000000000000000000000..b1ebb084eb710e4858504fe110c8ce4bb77c7fc1 --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_d.air/\346\216\247\351\224\200\345\225\206\345\223\201\346\213\246\346\210\252\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225_d.py" @@ -0,0 +1,66 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鎺ч攢鍟嗗搧鎷︽埅楠岃瘉_鍐嶆潵涓€鍗�,2288,2288-25,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鍐嶆潵涓€鍗曡幏鍙栧師璁㈠崟鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +from common.db.db import mySql +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鏁版嵁搴撴搷浣� +mysql_handle = mySql() +# 鑾峰彇conf.ini鏂囦欢涓厤缃殑鏁版嵁搴撲俊鎭� +host, port, user, pwd = mysql_handle.getConf(db="cmdc_db") + +# 鏌ヨ鎸囧畾闇€姹傚崟淇℃伅 +order_num = "17018438457347575" + +# 绗簩姝ヨ幏鍙栧閲囧晢鍩庨渶姹傚崟鍒楄〃 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_demand_list") +request_body = commonFuc().get_business_data(module, "payload_demand_list", order_num) +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][0]["demandId"] + +# 绗笁姝ヨ繘琛屽啀鏉ヤ竴鍗曟搷浣� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url20") +request_body = commonFuc().get_business_data(module, "payload20", demand_id) + +""" + 鍦烘櫙: 楠岃瘉浣跨敤鍐嶆潵涓€鍗曞姛鑳芥椂锛屽師璁㈠崟涓寘鍚帶閿€鍟嗗搧锛屾槸鍚﹁繘琛屾嫤鎴彁閱� + 鐢ㄤ緥鍚嶇О锛氭帶閿€鍟嗗搧鎷︽埅楠岃瘉_鍐嶆潵涓€鍗� + 杈撳嚭锛歿"success":false,"code":"ERROR","message":"褰撳墠璁㈠崟鏃犳湁鏁堝晢鍝�","data":null,"freshToken":null} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict20") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + +# 杩涜鍘婚櫎鍟嗗搧鎺ч攢鐘舵€佹搷浣� +sql = "UPDATE `cmdc-product`.ic_product t SET t.isControlSales = 0 WHERE t.productId = 7991" +mysql_handle.executeUpdate(host, port, user, pwd, "cmdc-product", sql) diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242jde\351\205\215\347\275\256\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242jde\351\205\215\347\275\256\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242jde\351\205\215\347\275\256\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242jde\351\205\215\347\275\256\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..cfce58f7c81abdb4e5ab817c97ce08679cce358e --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242jde\351\205\215\347\275\256\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242jde\351\205\215\347\275\256\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,55 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨjde閰嶇疆鎺ュ彛楠岃瘉,2288,2288-1,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏌ヨjde閰嶇疆鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import random +import json + + +module = "cmdc_order_handle" + +# # 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +# username = commonFuc().get_business_data(module, "username1") +# password = commonFuc().get_business_data(module, "password1") +# # 鑾峰彇鐧诲綍鍚嶤mdc_access_token +# cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +# headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) +# 绗簩姝ヨ幏鍙栫珯鐐瑰垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_query_website") +request_body = commonFuc().get_business_data(module, "payload_query_website") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body) +result = json.loads(result.content) +print(result) +# 鐢熸垚闅忔満鏁� +random_website = random.randint(0, len(result["data"])-1) + +# 鑾峰彇绔欑偣淇℃伅 +companyId = result["data"][random_website]["companyId"] + +# 绗笁姝ユ牴鎹叕鍙竔d鑾峰彇瀵瑰簲jde閰嶇疆淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_jde_config") +request_body = commonFuc().get_business_data(module, "payload_jde_config", companyId) + +""" + 鍦烘櫙:鏌ヨjde閰嶇疆鎺ュ彛楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氭煡璇de閰嶇疆鎺ュ彛楠岃瘉 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict_jde_config") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242\345\225\206\345\223\201\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242\345\225\206\345\223\201\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\345\225\206\345\223\201\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242\345\225\206\345\223\201\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..1e8744c2ab8f59508e0309233f39f66a425aa90e --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\345\225\206\345\223\201\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242\345\225\206\345\223\201\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,62 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鍟嗗搧淇℃伅鎺ュ彛楠岃瘉,2288,2288-2,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.鍚庡彴绠$悊绯荤粺鐧诲綍.鍚庡彴绠$悊绯荤粺鐧诲綍 import CmdcDoLogin +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞悗鍙拌繍钀ュ钩鍙拌幏鍙朿mdc_access_token +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username1") +password = commonFuc().get_business_data(module, "password1") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcDoLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) +# 绗簩姝ユ煡璇㈠晢鍝佷俊鎭鐞嗕腑宸蹭笂鏋跺晢鍝� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_product") +request_body = commonFuc().get_business_data(module, "payload_product") + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鑾峰彇鍟嗗搧淇℃伅 +product_id = result["data"]["list"][0]["productId"] + +# 绗笁姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1", product_id) + +""" + 鍦烘櫙:鏌ヨ鍟嗗搧淇℃伅鎺ュ彛楠岃瘉 + 鐢ㄤ緥鍚嶇О锛氭煡璇㈠晢鍝佷俊鎭帴鍙i獙璇� + 杈撳嚭锛歿"productId":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +result = {"productId": result["data"]["productId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict1", product_id) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\225\206\345\223\201\346\270\205\345\215\225_\347\273\223\347\256\227\351\241\265\351\235\242.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\225\206\345\223\201\346\270\205\345\215\225_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\225\206\345\223\201\346\270\205\345\215\225_\347\273\223\347\256\227\351\241\265\351\235\242.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\225\206\345\223\201\346\270\205\345\215\225_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..2e4b87f1d8521b05b9561809cb82f1d29cc393ea --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\225\206\345\223\201\346\270\205\345\215\225_\347\273\223\347\256\227\351\241\265\351\235\242.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\345\225\206\345\223\201\346\270\205\345\215\225_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,50 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_鍟嗗搧娓呭崟_缁撶畻椤甸潰,2288,2288-20,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鍟嗗搧娓呭崟鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ヨ幏鍙栧晢鍝佹竻鍗曚俊鎭� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url15") +request_body = commonFuc().get_business_data(module, "payload15") +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) + +# 鑾峰彇鍟嗗搧淇℃伅 +product_code = result["data"]["list"][0]["productCode"] +product_name = result["data"]["list"][0]["productName"] +material_code = result["data"]["list"][0]["materialCode"] +specifications = result["data"]["list"][0]["specifications"] + +# 绗簩姝ヨ繘琛屽晢鍝佹煡璇� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url16") +request_body = commonFuc().get_business_data(module, "payload16", product_code, product_name, material_code, specifications) + +""" + + 鍦烘櫙: 鏌ヨ鏉′欢楠岃瘉_鍟嗗搧娓呭崟_缁撶畻椤甸潰 + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢鍟嗗搧娓呭崟_缁撶畻椤甸潰 + 杈撳嚭锛歿"productCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓晢鍝佷俊鎭� +result = {"productCode": result["data"]["list"][0]["productCode"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict16", product_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_a.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_a.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_a.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_a.py" new file mode 100644 index 0000000000000000000000000000000000000000..360e3d20c471da81bdee74f559513fb2c4abfc3a --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_a.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_a.py" @@ -0,0 +1,53 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_鏀惰揣鍦板潃鍒楄〃_a,2288,2288-12,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鏀惰揣鍦板潃鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url7") +request_body = commonFuc().get_business_data(module, "payload7") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏀惰揣淇℃伅 +receiver_name = result["data"]["addresses"]["list"][0]["receiverName"][-2:] + +# 绗笁姝ユ牴鎹煡璇㈡潯浠舵煡璇㈡敹璐у垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url8") +request_body = commonFuc().get_business_data(module, "payload8", receiver_name) +""" + 鍦烘櫙:楠岃瘉鏀惰揣鍦板潃鍒楄〃鏌ヨ鏉′欢鏄惁鍙甯镐娇鐢紝鏀寔濮撳悕銆佺數璇濄€佹敹璐у湴鍧€妯$硦鍖归厤 + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢鏀惰揣鍦板潃鍒楄〃 + 杈撳嚭锛歿"receiverName":"%s"};{"address":"%s"};{"mobile":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓敹璐т汉濮撳悕 +result = {"receiverName": result["data"]["addresses"]["list"][0]["receiverName"][-2:]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict8_1", receiver_name) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_b.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_b.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_b.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_b.py" new file mode 100644 index 0000000000000000000000000000000000000000..d9adf2ef17477a760f52a46f16b776b98895f5cc --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_b.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_b.py" @@ -0,0 +1,54 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_鏀惰揣鍦板潃鍒楄〃_b,2288,2288-12,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鏀惰揣鍦板潃鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url7") +request_body = commonFuc().get_business_data(module, "payload7") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏀惰揣淇℃伅 +address = result["data"]["addresses"]["list"][0]["address"][-2:] + +# 绗笁姝ユ牴鎹煡璇㈡潯浠舵煡璇㈡敹璐у垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url8") +request_body = commonFuc().get_business_data(module, "payload8", address) + +""" + 鍦烘櫙:楠岃瘉鏀惰揣鍦板潃鍒楄〃鏌ヨ鏉′欢鏄惁鍙甯镐娇鐢紝鏀寔濮撳悕銆佺數璇濄€佹敹璐у湴鍧€妯$硦鍖归厤 + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢鏀惰揣鍦板潃鍒楄〃 + 杈撳嚭锛歿"receiverName":"%s"};{"address":"%s"};{"mobile":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓敹璐т汉濮撳悕 +result = {"address": result["data"]["addresses"]["list"][0]["address"][-2:]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict8_2", address) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_c.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_c.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_c.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_c.py" new file mode 100644 index 0000000000000000000000000000000000000000..0eed8dc7c546ee40fb4b630093c55039d8856a10 --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_c.air/\346\237\245\350\257\242\346\235\241\344\273\266\351\252\214\350\257\201_\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_c.py" @@ -0,0 +1,54 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鏉′欢楠岃瘉_鏀惰揣鍦板潃鍒楄〃_c,2288,2288-12,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鏀惰揣鍦板潃鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url7") +request_body = commonFuc().get_business_data(module, "payload7") +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏀惰揣淇℃伅 +mobile = result["data"]["addresses"]["list"][0]["mobile"][-2:] + +# 绗笁姝ユ牴鎹煡璇㈡潯浠舵煡璇㈡敹璐у垪琛� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url8") +request_body = commonFuc().get_business_data(module, "payload8", mobile) + +""" + 鍦烘櫙:楠岃瘉鏀惰揣鍦板潃鍒楄〃鏌ヨ鏉′欢鏄惁鍙甯镐娇鐢紝鏀寔濮撳悕銆佺數璇濄€佹敹璐у湴鍧€妯$硦鍖归厤 + 鐢ㄤ緥鍚嶇О锛氭煡璇㈡潯浠堕獙璇乢鏀惰揣鍦板潃鍒楄〃 + 杈撳嚭锛歿"receiverName":"%s"};{"address":"%s"};{"mobile":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓敹璐т汉濮撳悕 +result = {"mobile": result["data"]["addresses"]["list"][0]["mobile"][-2:]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict8_3", mobile) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\346\237\245\350\257\242\347\224\250\346\210\267\345\234\260\345\235\200\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242\347\224\250\346\210\267\345\234\260\345\235\200\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\347\224\250\346\210\267\345\234\260\345\235\200\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242\347\224\250\346\210\267\345\234\260\345\235\200\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..76a1f1d7d7a1a497fd6c0853838a2d3c2e1b3834 --- /dev/null +++ "b/air_case/cmdc_order_handle/\346\237\245\350\257\242\347\224\250\346\210\267\345\234\260\345\235\200\346\216\245\345\217\243\351\252\214\350\257\201.air/\346\237\245\350\257\242\347\224\250\346\210\267\345\234\260\345\235\200\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,42 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鏌ヨ鐢ㄦ埛鍦板潃鎺ュ彛楠岃瘉,2288,2288-21,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄缁撶畻椤甸潰鏌ヨ鐢ㄦ埛鏀惰揣鍦板潃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url17") +request_body = commonFuc().get_business_data(module, "payload17") + +""" + 鍦烘櫙: 楠岃瘉澶氶噰鍟嗗煄缁撶畻椤甸潰鏌ヨ鐢ㄦ埛鏀惰揣鍦板潃淇℃伅鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氭煡璇㈢敤鎴峰湴鍧€鎺ュ彛楠岃瘉 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict17") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) \ No newline at end of file diff --git "a/air_case/cmdc_order_handle/\347\211\251\346\226\231\347\274\226\347\240\201\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\347\211\251\346\226\231\347\274\226\347\240\201\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\347\211\251\346\226\231\347\274\226\347\240\201\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\347\211\251\346\226\231\347\274\226\347\240\201\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..c66f4d121105f4d57b0ea52595a95051ebf8a174 --- /dev/null +++ "b/air_case/cmdc_order_handle/\347\211\251\346\226\231\347\274\226\347\240\201\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\347\211\251\346\226\231\347\274\226\347\240\201\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,47 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鐗╂枡缂栫爜妯$硦鏌ヨ楠岃瘉_缁撶畻椤甸潰,2288,2288-16,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鐗╂枡缂栫爜妯$硦鏌ヨ鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鐢熸垚闅忔満鏁版嵁 +random_code = random.randint(0, 9) +# 绗簩姝ヨ繘琛岀墿鏂欑紪鐮佹ā绯婂尮閰嶆煡璇� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url12") +request_body = commonFuc().get_business_data(module, "payload12", random_code) + +""" + 鍦烘櫙:楠岃瘉缁撶畻椤甸潰鐗╂枡缂栫爜妯$硦鏌ヨ鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氱墿鏂欑紪鐮佹ā绯婃煡璇㈤獙璇乢缁撶畻椤甸潰 + 杈撳嚭锛歿"data":["%s"]} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓暟鎹� +result = {"data": result["data"][0][0]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict12", random_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\350\216\267\345\217\226\345\216\237\350\256\242\345\215\225\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225.air/\350\216\267\345\217\226\345\216\237\350\256\242\345\215\225\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225.py" "b/air_case/cmdc_order_handle/\350\216\267\345\217\226\345\216\237\350\256\242\345\215\225\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225.air/\350\216\267\345\217\226\345\216\237\350\256\242\345\215\225\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225.py" new file mode 100644 index 0000000000000000000000000000000000000000..0ce7330d1a19400523ab12aad9c2a29f0f4b59db --- /dev/null +++ "b/air_case/cmdc_order_handle/\350\216\267\345\217\226\345\216\237\350\256\242\345\215\225\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225.air/\350\216\267\345\217\226\345\216\237\350\256\242\345\215\225\344\277\241\346\201\257\346\216\245\345\217\243\351\252\214\350\257\201_\345\206\215\346\235\245\344\270\200\345\215\225.py" @@ -0,0 +1,59 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鍘熻鍗曚俊鎭帴鍙i獙璇乢鍐嶆潵涓€鍗�,2288,2288-22,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃銆佽幏鍙栧師璁㈠崟淇℃伅绛夋帴鍙� +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +order_num = "" + +# 绗簩姝ヨ幏鍙栧閲囧晢鍩庨渶姹傚崟鍒楄〃 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url_demand_list") +request_body = commonFuc().get_business_data(module, "payload_demand_list", order_num) +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) + +# 鐢熸垚闅忔満鏁板瓧锛岀敤浜庡悗缁幏鍙栭渶姹傚崟 +random_demand = random.randint(0, len(result["data"]["list"]) - 1) +# 鑾峰彇闇€姹傚崟淇℃伅 +demand_id = result["data"]["list"][random_demand]["demandId"] + +# 绗笁姝ヨ幏鍙栧師璁㈠崟淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url18") +request_body = commonFuc().get_business_data(module, "payload18", demand_id) + +""" + 鍦烘櫙: 楠岃瘉鍐嶆潵涓€鍗曞姛鑳借幏鍙栧師璁㈠崟淇℃伅鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氳幏鍙栧師璁㈠崟淇℃伅鎺ュ彛楠岃瘉_鍐嶆潵涓€鍗� + 杈撳嚭锛歿"success":true,"code":"200","message":"ok"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict18") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\350\216\267\345\217\226\346\224\266\346\254\276\350\264\246\345\217\267\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\346\224\266\346\254\276\350\264\246\345\217\267\346\216\245\345\217\243\351\252\214\350\257\201.py" "b/air_case/cmdc_order_handle/\350\216\267\345\217\226\346\224\266\346\254\276\350\264\246\345\217\267\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\346\224\266\346\254\276\350\264\246\345\217\267\346\216\245\345\217\243\351\252\214\350\257\201.py" new file mode 100644 index 0000000000000000000000000000000000000000..1bae197ee6cfff14a41d288a004902a68de43587 --- /dev/null +++ "b/air_case/cmdc_order_handle/\350\216\267\345\217\226\346\224\266\346\254\276\350\264\246\345\217\267\346\216\245\345\217\243\351\252\214\350\257\201.air/\350\216\267\345\217\226\346\224\266\346\254\276\350\264\246\345\217\267\346\216\245\345\217\243\351\252\214\350\257\201.py" @@ -0,0 +1,47 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鏀舵璐﹀彿鎺ュ彛楠岃瘉,2288,2288-31,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鏀舵璐﹀彿鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鍏徃淇℃伅 +company_id = 6 +# 绗簩姝ヨ幏鍙栧叕鍙稿搴旂殑鏀舵璐﹀彿 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url23") +request_body = commonFuc().get_business_data(module, "payload23", company_id) + +""" + 鍦烘櫙:楠岃瘉鑾峰彇鏀舵璐﹀彿鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氳幏鍙栨敹娆捐处鍙锋帴鍙i獙璇� + 杈撳嚭锛歿"companyId":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏀舵璐﹀彿涓叕鍙镐俊鎭� +result = {"companyId": result["data"]["list"][0]["companyId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict23", company_id) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\347\273\223\347\256\227\351\241\265\351\235\242.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_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\347\273\223\347\256\227\351\241\265\351\235\242.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_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..130258cf56c540907bbe0f5a8845ab41537776af --- /dev/null +++ "b/air_case/cmdc_order_handle/\350\216\267\345\217\226\346\224\266\350\264\247\345\234\260\345\235\200\345\210\227\350\241\250_\347\273\223\347\256\227\351\241\265\351\235\242.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_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,44 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc鑾峰彇鏀惰揣鍦板潃鍒楄〃_缁撶畻椤甸潰_a,2288,2288-11,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鑾峰彇鏀惰揣鍦板潃鍒楄〃鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url7") +request_body = commonFuc().get_business_data(module, "payload7") + +""" + 鍦烘櫙:楠岃瘉涓嬪崟鏃舵槸鍚﹀彲姝e父鑾峰彇鍒版敹璐у湴鍧€鍒楄〃鏁版嵁 + 鐢ㄤ緥鍚嶇О锛氳幏鍙栨敹璐у湴鍧€鍒楄〃_缁撶畻椤甸潰 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict7") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\350\247\204\346\240\274\345\236\213\345\217\267\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\350\247\204\346\240\274\345\236\213\345\217\267\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\350\247\204\346\240\274\345\236\213\345\217\267\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\350\247\204\346\240\274\345\236\213\345\217\267\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..4ef68150f37120f3bda5167d1e16dc737afd204a --- /dev/null +++ "b/air_case/cmdc_order_handle/\350\247\204\346\240\274\345\236\213\345\217\267\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\350\247\204\346\240\274\345\236\213\345\217\267\346\250\241\347\263\212\346\237\245\350\257\242\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,48 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc瑙勬牸鍨嬪彿妯$硦鏌ヨ楠岃瘉_缁撶畻椤甸潰,2288,2288-14,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄瑙勬牸鍨嬪彿妯$硦鏌ヨ鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鐢熸垚闅忔満鏁版嵁 +random_code = random.randint(0, 8) +# 绗簩姝ヨ繘琛岃鏍煎瀷鍙锋ā绯婂尮閰嶆煡璇� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url10") +request_body = commonFuc().get_business_data(module, "payload10", random_code) + +""" + 鍦烘櫙:楠岃瘉缁撶畻椤甸潰瑙勬牸鍨嬪彿妯$硦鏌ヨ鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氳鏍煎瀷鍙锋ā绯婃煡璇㈤獙璇乢缁撶畻椤甸潰 + 杈撳嚭锛歿"data":["%s"]} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓暟鎹� +result = {"data": result["data"][0][0]} +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict10", random_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\351\200\232\350\277\207Excel\345\244\215\345\210\266\346\267\273\345\212\240\345\225\206\345\223\201\345\212\237\350\203\275\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207Excel\345\244\215\345\210\266\346\267\273\345\212\240\345\225\206\345\223\201\345\212\237\350\203\275\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\351\200\232\350\277\207Excel\345\244\215\345\210\266\346\267\273\345\212\240\345\225\206\345\223\201\345\212\237\350\203\275\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207Excel\345\244\215\345\210\266\346\267\273\345\212\240\345\225\206\345\223\201\345\212\237\350\203\275\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..33b02c0bc8776955c11baaf02bb4e7d54dbb4009 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\200\232\350\277\207Excel\345\244\215\345\210\266\346\267\273\345\212\240\345\225\206\345\223\201\345\212\237\350\203\275\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207Excel\345\244\215\345\210\266\346\267\273\345\212\240\345\225\206\345\223\201\345\212\237\350\203\275\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,49 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc閫氳繃Excel澶嶅埗娣诲姞鍟嗗搧鍔熻兘楠岃瘉_缁撶畻椤甸潰,2288,2288-16,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄閫氳繃Excel澶嶅埗娣诲姞鍟嗗搧鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import random +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鐢熸垚闅忔満鏁版嵁 +random_code = random.randint(0, 10) +product_code = "13977315" +material_code = "00-8800-000-10" +# 绗簩姝ラ€氳繃Excel澶嶅埗娣诲姞鍟嗗搧 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url14") +request_body = commonFuc().get_business_data(module, "payload14", product_code, material_code, random_code) + +""" + 鍦烘櫙:楠岃瘉缁撶畻椤甸潰閫氳繃Excel澶嶅埗娣诲姞鍟嗗搧鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氶€氳繃Excel澶嶅埗娣诲姞鍟嗗搧鍔熻兘楠岃瘉_缁撶畻椤甸潰 + 杈撳嚭锛歿"productCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓暟鎹� +result = {"productCode": result["data"]["data"][0]["productCode"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict14", product_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\351\200\232\350\277\207\345\225\206\345\223\201\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\345\225\206\345\223\201\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\351\200\232\350\277\207\345\225\206\345\223\201\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\345\225\206\345\223\201\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..65523d4c15271cf55459581fe657044a7091bac7 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\200\232\350\277\207\345\225\206\345\223\201\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\345\225\206\345\223\201\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,36 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc閫氳繃鍟嗗搧缂栫爜鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰,2288,2288-13,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏍规嵁鍟嗗搧缂栫爜鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_order_handle" + +# 鏍规嵁鍟嗗搧缂栫爜鏌ヨ鍟嗗搧淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url9") +request_body = commonFuc().get_business_data(module, "payload9") + +""" + + 鍦烘櫙: 楠岃瘉缁撶畻椤甸潰閫氳繃鍟嗗搧缂栫爜鏌ヨ鍟嗗搧淇℃伅鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氶€氳繃鍟嗗搧缂栫爜鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰 + 杈撳嚭锛歿"productCode":"13977315"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓晢鍝乧ode +result = {"productCode": result["data"]["list"][0]["productCode"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict9") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\351\200\232\350\277\207\347\211\251\346\226\231\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\347\211\251\346\226\231\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\351\200\232\350\277\207\347\211\251\346\226\231\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\347\211\251\346\226\231\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..c4cf70b0ed1116d9f99ed7aa21ee127f634e2ace --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\200\232\350\277\207\347\211\251\346\226\231\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\347\211\251\346\226\231\347\274\226\347\240\201\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,38 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc閫氳繃鐗╂枡缂栫爜鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰,2288,2288-17,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏍规嵁鐗╂枡缂栫爜鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_order_handle" + +# 瑙勬牸鍨嬪彿 +material_code = "00-8800-000-10" +# 鏍规嵁鐗╂枡缂栫爜鏌ヨ鍟嗗搧淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url13") +request_body = commonFuc().get_business_data(module, "payload13", material_code) + +""" + + 鍦烘櫙: 楠岃瘉缁撶畻椤甸潰閫氳繃鐗╂枡缂栫爜鏌ヨ鍟嗗搧淇℃伅鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氶€氳繃鐗╂枡缂栫爜鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰 + 杈撳嚭锛歿"materialCode":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓晢鍝佸搴旂殑鐗╂枡缂栫爜 +result = {"materialCode": result["data"]["list"][0]["materialCode"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict13", material_code) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) \ No newline at end of file diff --git "a/air_case/cmdc_order_handle/\351\200\232\350\277\207\350\247\204\346\240\274\345\236\213\345\217\267\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\350\247\204\346\240\274\345\236\213\345\217\267\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\351\200\232\350\277\207\350\247\204\346\240\274\345\236\213\345\217\267\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\350\247\204\346\240\274\345\236\213\345\217\267\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..b510f866ec96f47ec65b5753fb187e07ed121bdc --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\200\232\350\277\207\350\247\204\346\240\274\345\236\213\345\217\267\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\200\232\350\277\207\350\247\204\346\240\274\345\236\213\345\217\267\346\237\245\350\257\242\345\225\206\345\223\201\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,39 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc閫氳繃瑙勬牸鍨嬪彿鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰,2288,2288-15,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏍规嵁鍟嗗搧缂栫爜鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +import requests +import json + +module = "cmdc_order_handle" + +# 瑙勬牸鍨嬪彿 +specification = "10.63cm(闀�)脳1.88cm(瀹�)" +# 鏍规嵁瑙勬牸鍨嬪彿鏌ヨ鍟嗗搧淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url11") +request_body = commonFuc().get_business_data(module, "payload11", specification) + +""" + + 鍦烘櫙: 楠岃瘉缁撶畻椤甸潰閫氳繃瑙勬牸鍨嬪彿鏌ヨ鍟嗗搧淇℃伅鎺ュ彛杩為€氭€� + 鐢ㄤ緥鍚嶇О锛氶€氳繃瑙勬牸鍨嬪彿鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰 + 杈撳嚭锛歿"specifications":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body) +result = json.loads(result.content) +# print(result) +# 鑾峰彇鏌ヨ缁撴灉涓晢鍝佸搴旂殑瑙勬牸鍨嬪彿 +result = {"specifications": result["data"]["list"][0]["specifications"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict11", specification) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\351\231\204\344\273\266\344\270\212\344\274\240\346\216\245\345\217\243\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\231\204\344\273\266\344\270\212\344\274\240\346\216\245\345\217\243\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" "b/air_case/cmdc_order_handle/\351\231\204\344\273\266\344\270\212\344\274\240\346\216\245\345\217\243\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\231\204\344\273\266\344\270\212\344\274\240\346\216\245\345\217\243\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..9033744614bfa690a722e2d82da63523839f4d66 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\231\204\344\273\266\344\270\212\344\274\240\346\216\245\345\217\243\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.air/\351\231\204\344\273\266\344\270\212\344\274\240\346\216\245\345\217\243\351\252\214\350\257\201_\347\273\223\347\256\227\351\241\265\351\235\242.py" @@ -0,0 +1,52 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc闄勪欢涓婁紶鎺ュ彛楠岃瘉_缁撶畻椤甸潰,2288,2288-10,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄闄勪欢涓婁紶鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json +import os + + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers1", cmdc_access_token) + +# 鑾峰彇鏂囦欢鍦板潃 +BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +file_path = BASE_DIR + "/data/cmdc_files/test_file.jpg" + +# 绗簩姝ヤ笂浼犻檮浠� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url6") + +# 鑾峰彇鏂囦欢 +file = open(file_path, "rb") +files = {"file": file} + +""" + 鍦烘櫙: 楠岃瘉缁撶畻椤甸潰闄勪欢涓婁紶鎺ュ彛鑳藉惁姝e父浣跨敤 + 鐢ㄤ緥鍚嶇О锛氶檮浠朵笂浼犳帴鍙i獙璇乢缁撶畻椤甸潰 + 杈撳嚭锛歿"success":true,"code":"200","message":"OK"} +""" + +# 鍙戦€佽姹� +result = requests.post(url, files=files, headers=headers) +result = json.loads(result.content) +# print(result) +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict6") +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\351\252\214\350\257\201\344\270\213\345\215\225\346\227\266\344\270\215\344\274\240\345\234\260\345\235\200\344\277\241\346\201\257.air/\351\252\214\350\257\201\344\270\213\345\215\225\346\227\266\344\270\215\344\274\240\345\234\260\345\235\200\344\277\241\346\201\257.py" "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\344\270\213\345\215\225\346\227\266\344\270\215\344\274\240\345\234\260\345\235\200\344\277\241\346\201\257.air/\351\252\214\350\257\201\344\270\213\345\215\225\346\227\266\344\270\215\344\274\240\345\234\260\345\235\200\344\277\241\346\201\257.py" new file mode 100644 index 0000000000000000000000000000000000000000..e18cb586efe739d0ca5bf45cf64ca15e95076371 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\344\270\213\345\215\225\346\227\266\344\270\215\344\274\240\345\234\260\345\235\200\344\277\241\346\201\257.air/\351\252\214\350\257\201\344\270\213\345\215\225\346\227\266\344\270\215\344\274\240\345\234\260\345\235\200\344\277\241\346\201\257.py" @@ -0,0 +1,50 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉涓嬪崟鏃朵笉浼犲湴鍧€淇℃伅,2288,2288-8,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄涓嬪崟鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url5") +request_body = commonFuc().get_business_data(module, "payload5") + +""" + 鍦烘櫙:楠岃瘉涓嬪崟鏃朵笉閫夋嫨鏀惰揣鍦板潃锛屾槸鍚﹀彲浠ユ甯告彁浜� + 鐢ㄤ緥鍚嶇О锛氶獙璇佷笅鍗曟椂涓嶄紶鍦板潃淇℃伅 + 杈撳嚭锛歿"success":false,"code":"3021","message":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃鏀朵欢浜轰笉鑳戒负绌�","data":null,"freshToken":null} +""" + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +if result["code"] == "3021": + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict5") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict5_1") + # print(check_dict) + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) \ No newline at end of file diff --git "a/air_case/cmdc_order_handle/\351\252\214\350\257\201\345\267\262\344\270\213\346\236\266\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\345\267\262\344\270\213\346\236\266\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\345\267\262\344\270\213\346\236\266\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\345\267\262\344\270\213\346\236\266\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..d15aa050dad674b860f861018c6b39419c2effb4 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\345\267\262\344\270\213\346\236\266\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\345\267\262\344\270\213\346\236\266\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" @@ -0,0 +1,62 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉宸蹭笅鏋跺晢鍝佽鎯�,2288,2288-3,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.鍚庡彴绠$悊绯荤粺鐧诲綍.鍚庡彴绠$悊绯荤粺鐧诲綍 import CmdcDoLogin +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞悗鍙拌繍钀ュ钩鍙拌幏鍙朿mdc_access_token +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username1") +password = commonFuc().get_business_data(module, "password1") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcDoLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) +# 绗簩姝ユ煡璇㈠晢鍝佷俊鎭鐞嗕腑宸蹭笅鏋跺晢鍝� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url2") +request_body = commonFuc().get_business_data(module, "payload2") + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鑾峰彇鍟嗗搧淇℃伅 +product_id = result["data"]["list"][0]["productId"] + +# 绗笁姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1", product_id) + +""" + 鍦烘櫙: 楠岃瘉鏄惁鍙互鏌ヨ宸蹭笅鏋跺晢鍝佽鎯� + 鐢ㄤ緥鍚嶇О锛氶獙璇佸凡涓嬫灦鍟嗗搧璇︽儏 + 杈撳嚭锛歿"productId":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +result = {"productId": result["data"]["productId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict1", product_id) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_order_handle/\351\252\214\350\257\201\345\267\262\345\244\261\346\225\210\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\345\267\262\345\244\261\346\225\210\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\345\267\262\345\244\261\346\225\210\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\345\267\262\345\244\261\346\225\210\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..5b722b7cf918b0eefbb0eb0c0b5e7bae8fd866f6 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\345\267\262\345\244\261\346\225\210\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\345\267\262\345\244\261\346\225\210\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" @@ -0,0 +1,63 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉宸插け鏁堝晢鍝佽鎯�,2288,2288-5,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.鍚庡彴绠$悊绯荤粺鐧诲綍.鍚庡彴绠$悊绯荤粺鐧诲綍 import CmdcDoLogin +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞悗鍙拌繍钀ュ钩鍙拌幏鍙朿mdc_access_token +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username1") +password = commonFuc().get_business_data(module, "password1") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcDoLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) +# 绗簩姝ユ煡璇㈠晢鍝佷俊鎭鐞嗕腑宸插け鏁堝晢鍝� +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url4") +request_body = commonFuc().get_business_data(module, "payload4") + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鑾峰彇鍟嗗搧淇℃伅 +product_id = result["data"]["list"][0]["productId"] + +# 绗笁姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1", product_id) + +""" + 鍦烘櫙: 楠岃瘉鏄惁鍙互鏌ヨ宸插け鏁堝晢鍝佽鎯� + 鐢ㄤ緥鍚嶇О锛氶獙璇佸凡澶辨晥鍟嗗搧璇︽儏 + 杈撳嚭锛歿"productId":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +result = {"productId": result["data"]["productId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict1", product_id) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) + diff --git "a/air_case/cmdc_order_handle/\351\252\214\350\257\201\346\216\247\351\224\200\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\346\216\247\351\224\200\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\346\216\247\351\224\200\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\346\216\247\351\224\200\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" new file mode 100644 index 0000000000000000000000000000000000000000..ebddbf7d26a4846004da0e7d78feee0d990d5a94 --- /dev/null +++ "b/air_case/cmdc_order_handle/\351\252\214\350\257\201\346\216\247\351\224\200\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.air/\351\252\214\350\257\201\346\216\247\351\224\200\345\225\206\345\223\201\350\257\246\346\203\205\346\237\245\350\257\242.py" @@ -0,0 +1,62 @@ +# -*- encoding=utf8 -*- +__author__ = "liguangyu" + +""" +case_tag:cmdc_api,cmdc楠岃瘉鎺ч攢鍟嗗搧璇︽儏,2288,2288-4,sit,bs +娑夊強鍒版帴鍙�:澶氶噰鍟嗗煄鏌ヨ鍟嗗搧淇℃伅鎺ュ彛 +""" + +from common.common_func import commonFuc +from air_case.cmdc_login.鍚庡彴绠$悊绯荤粺鐧诲綍.鍚庡彴绠$悊绯荤粺鐧诲綍 import CmdcDoLogin +from air_case.cmdc_login.澶氶噰鍟嗗煄鐧诲綍.澶氶噰鍟嗗煄鐧诲綍 import CmdcMaiiLogin +import requests +import json + +module = "cmdc_order_handle" + +# 绗竴姝ョ櫥褰曞悗鍙拌繍钀ュ钩鍙拌幏鍙朿mdc_access_token +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username1") +password = commonFuc().get_business_data(module, "password1") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcDoLogin(username, password).get_token() +headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) +# 绗簩姝ユ煡璇㈠晢鍝佷俊鎭鐞嗕腑鎺ч攢鍟嗗搧 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url3") +request_body = commonFuc().get_business_data(module, "payload3") + +# 鍙戦€佽姹� +result = requests.post(url, json=request_body, headers=headers) +result = json.loads(result.content) + +# 鑾峰彇鍟嗗搧淇℃伅 +product_id = result["data"]["list"][0]["productId"] + +# 绗笁姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken +# 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 +username = commonFuc().get_business_data(module, "username") +password = commonFuc().get_business_data(module, "password") +# 鑾峰彇鐧诲綍鍚嶤mdc_access_token +cmdc_access_token = CmdcMaiiLogin(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, "url1") +request_body = commonFuc().get_business_data(module, "payload1", product_id) + +""" + 鍦烘櫙: 楠岃瘉鏄惁鍙互鏌ヨ鎺ч攢鍟嗗搧璇︽儏 + 鐢ㄤ緥鍚嶇О锛氶獙璇佹帶閿€鍟嗗搧璇︽儏 + 杈撳嚭锛歿"productId":"%s"} +""" + +# 鍙戦€佽姹� +result = requests.get(url, params=request_body, headers=headers) +result = json.loads(result.content) +# print(result) +result = {"productId": result["data"]["productId"]} +# 鑾峰彇棰勬湡缁撴灉 +check_dict = commonFuc().get_business_data(module, "checkDict1", product_id) +# print(check_dict) +# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 +commonFuc().check_result(check_dict, result) 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") # 鑾峰彇鐧诲綍鍚嶤mdc_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/air_case/cmdc_query_customer/\345\256\242\346\210\267\346\237\245\350\257\242.air/\345\256\242\346\210\267\346\237\245\350\257\242.py" "b/air_case/cmdc_query_customer/\345\256\242\346\210\267\346\237\245\350\257\242.air/\345\256\242\346\210\267\346\237\245\350\257\242.py" index 9a45831f14b07942ae5a018a5f2cea329e7f8471..c3a997507ed591270aac54863193ac102d297568 100644 --- "a/air_case/cmdc_query_customer/\345\256\242\346\210\267\346\237\245\350\257\242.air/\345\256\242\346\210\267\346\237\245\350\257\242.py" +++ "b/air_case/cmdc_query_customer/\345\256\242\346\210\267\346\237\245\350\257\242.air/\345\256\242\346\210\267\346\237\245\350\257\242.py" @@ -14,14 +14,16 @@ import json module = "cmdc_query_customer" -url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url") -# print(url) + # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 username = commonFuc().get_business_data(module, "username") password = commonFuc().get_business_data(module, "password") # 鑾峰彇鐧诲綍鍚嶤mdc_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/air_case/cmdc_rebate/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.air/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.py" "b/air_case/cmdc_rebate/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.air/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.py" index 1c5009b06173c76df33020e0b7afbce75762170a..6847b6c0a0783da3cd7cfc04d81b4e2279df0927 100644 --- "a/air_case/cmdc_rebate/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.air/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.py" +++ "b/air_case/cmdc_rebate/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.air/a_\350\277\224\345\210\251\350\247\204\345\210\231\346\226\260\345\242\236\351\252\214\350\257\201.py" @@ -64,8 +64,14 @@ request_body = commonFuc().get_business_data(module, "payload21", customer_name, # 鍙戦€佽姹� result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) -print(result) -# 鑾峰彇棰勬湡缁撴灉 -check_dict = commonFuc().get_business_data(module, "checkDict21") -# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 -commonFuc().check_result(check_dict, result) +# print(result) +if result["success"]: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict21") + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict22") + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_rebate/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.air/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.py" "b/air_case/cmdc_rebate/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.air/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.py" index 0528b06397b784b52fc9ed6d07c03c23db008ea5..522678551a4d2bacce73d76c0c206e69461ad5c8 100644 --- "a/air_case/cmdc_rebate/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.air/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.py" +++ "b/air_case/cmdc_rebate/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.air/g_\350\277\224\345\210\251\350\247\204\345\210\231\345\210\240\351\231\244\345\212\237\350\203\275\351\252\214\350\257\201.py" @@ -32,7 +32,7 @@ result = json.loads(result.content) # 鑾峰彇鎸囧畾杩斿埄瑙勫垯淇℃伅 rebate_id = result["data"]["list"][0]["rebateid"] -# 绗笁姝ヨ繘琛岃繑鍒╄鍒欏惎鐢ㄦ搷浣� +# 绗笁姝ヨ繘琛岃繑鍒╄鍒欏垹闄ゆ搷浣� url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url25") request_body = commonFuc().get_business_data(module, "payload25", rebate_id) diff --git "a/air_case/cmdc_special_fresenius_group/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.air/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.py" "b/air_case/cmdc_special_fresenius_group/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.air/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.py" index 88df161a0fa7e255bf09a9007a941e41035b9298..7fa4cddb4e25f87514b76e18999891cc60027175 100644 --- "a/air_case/cmdc_special_fresenius_group/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.air/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.py" +++ "b/air_case/cmdc_special_fresenius_group/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.air/\345\215\225\344\270\252\346\226\260\345\242\236\351\252\214\350\257\201_\345\245\227\345\214\205\346\255\243\344\273\267_\346\214\207\345\256\232\345\256\242\346\210\267.py" @@ -100,7 +100,14 @@ result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) print(result) -# 鑾峰彇棰勬湡缁撴灉 -check_dict = commonFuc().get_business_data(module, "checkDict20") -# 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 -commonFuc().check_result(check_dict, result) +# 杩涜缁撴灉鍒ゆ柇 +if result["success"]: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict20") + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) +else: + # 鑾峰彇棰勬湡缁撴灉 + check_dict = commonFuc().get_business_data(module, "checkDict20_2") + # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 + commonFuc().check_result(check_dict, result) diff --git "a/air_case/cmdc_special_fresenius_group/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.air/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.py" "b/air_case/cmdc_special_fresenius_group/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.air/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.py" index 224750dbe823fb0bf96971eed9678a10b59a1c63..a123ac7b03710345eaba61a96bff4d5f80a4e63f 100644 --- "a/air_case/cmdc_special_fresenius_group/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.air/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.py" +++ "b/air_case/cmdc_special_fresenius_group/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.air/\345\225\206\345\223\201\350\257\246\346\203\205\351\241\265_\345\245\227\345\214\205\345\215\217\350\256\256\344\273\267\346\230\276\347\244\272\351\252\214\350\257\201.py" @@ -23,17 +23,17 @@ headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_toke # 绗簩姝ュ鍖呭崗璁环鏌ヨ url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url3") -request_body = commonFuc().get_business_data(module, "payload49") +request_body = commonFuc().get_business_data(module, "payload49_1") # 鍙戦€佽姹� result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) - +# print(result) # 鑾峰彇鍟嗗搧淇℃伅 product_code = result["data"]["list"][0]["products"][0]["productCode"] company_code = result["data"]["list"][0]["companyCode"] document_no = result["data"]["list"][0]["documentNo"] group_price = result["data"]["list"][0]["groupPrice"] -print(product_code) +# print(product_code) # 绗笁姝ョ櫥褰曞閲囧晢鍩庤幏鍙杢oken淇℃伅 # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 username = commonFuc().get_business_data(module, "username") @@ -61,10 +61,10 @@ request_body = commonFuc().get_business_data(module, "payload47", product_code, # 鍙戦€佽姹� result = requests.get(url, params=request_body, headers=headers) result = json.loads(result.content) -print(result) +# print(result) # 鑾峰彇鍟嗗搧璇︽儏椤典腑濂楀寘姝d环淇℃伅 result = {"groupPrice": result["data"][1]["groupPrice"], "documentNo": result["data"][1]["documentNo"]} -print(result) +# print(result) # # 鑾峰彇棰勬湡缁撴灉 check_dict = commonFuc().get_business_data(module, "checkDict48", group_price, document_no) # # 鏂█瀹為檯缁撴灉涓槸鍚﹀寘鍚鏈熺粨鏋滅殑鍐呭 diff --git "a/air_case/cmdc_special_fresenius_group/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.air/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.py" "b/air_case/cmdc_special_fresenius_group/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.air/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.py" index 4812f2b2a541cbee4941a6445591e04f4a6e27a1..144667d7e21216becdc232c89fceeba8b9725c74 100644 --- "a/air_case/cmdc_special_fresenius_group/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.air/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.py" +++ "b/air_case/cmdc_special_fresenius_group/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.air/\346\211\271\351\207\217\346\226\260\345\242\236_\345\245\227\345\214\205\345\225\206\345\223\201\347\256\241\347\220\206.py" @@ -36,10 +36,10 @@ result = requests.post(url, headers=headers, json=request_body) result = json.loads(result.content) # 闅忔満鑾峰彇涓嶇浉鍚屼袱涓晢鍝佷俊鎭� -product_id_a = random.randint(1, len(result["data"]["list"]) - 1) +product_id_a = random.randint(1, len(result["data"]["list"]) - 2) product_code_a = result["data"]["list"][product_id_a]["productCode"] product_name_a = result["data"]["list"][product_id_a]["productName"] -product_id_b = random.randint(product_id_a + 1, len(result["data"]["list"])) +product_id_b = random.randint(product_id_a + 1, len(result["data"]["list"]) - 1) product_code_b = result["data"]["list"][product_id_b]["productCode"] product_name_b = result["data"]["list"][product_id_b]["productName"] diff --git "a/air_case/cmdc_special_fresenius_group/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.air/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.py" "b/air_case/cmdc_special_fresenius_group/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.air/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.py" index 48f9bbcaea4aebc03a31fe66e49a3bf654134af5..9d8e152f75301624ab42ba6f554e58c3c35e6837 100644 --- "a/air_case/cmdc_special_fresenius_group/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.air/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.py" +++ "b/air_case/cmdc_special_fresenius_group/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.air/\347\211\271\344\273\267\345\215\225\345\223\201\346\226\260\345\242\236\351\252\214\350\257\201.py" @@ -49,7 +49,7 @@ result = requests.post(url, json=request_body, headers=headers) result = json.loads(result.content) # 鑾峰彇鍟嗗搧淇℃伅 -product_detail = result["data"]["list"][random.randint(1, len(result["data"]["list"]))] +product_detail = result["data"]["list"][random.randint(1, len(result["data"]["list"]))-1] product_detail["activityUnitAmount"] = customer_quantity # 闅忔満鐢熸垚鏃ユ湡 diff --git "a/air_case/cmdc_userinfo_query/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.air/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.py" "b/air_case/cmdc_userinfo_query/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.air/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.py" index 6e1de437879050c98f14633e6e3eabed5594fea2..568b4f51bbabe9d4323864dcba1aa52eef70a6dd 100644 --- "a/air_case/cmdc_userinfo_query/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.air/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.py" +++ "b/air_case/cmdc_userinfo_query/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.air/\347\224\250\346\210\267\344\277\241\346\201\257\346\237\245\350\257\242.py" @@ -15,14 +15,15 @@ import json module = "cmdc_userinfo_query" -url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url1") -print(url) # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 username = commonFuc().get_business_data(module, "username") password = commonFuc().get_business_data(module, "password") # 鑾峰彇鐧诲綍鍚嶤mdc_access_token cmdc_access_token = CmdcMaiiLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) + +# 杩涜鐢ㄦ埛淇℃伅鏌ヨ +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url1") request_body = commonFuc().get_business_data(module, "payload1") """ diff --git "a/air_case/cmdc_website/\347\253\231\347\202\271\345\210\207\346\215\242.air/\347\253\231\347\202\271\345\210\207\346\215\242.py" "b/air_case/cmdc_website/\347\253\231\347\202\271\345\210\207\346\215\242.air/\347\253\231\347\202\271\345\210\207\346\215\242.py" index e40496a0951900fc64bc138c4d295c25f605b42b..00024e1156dce0cb32014f328e30d6c826d3bd55 100644 --- "a/air_case/cmdc_website/\347\253\231\347\202\271\345\210\207\346\215\242.air/\347\253\231\347\202\271\345\210\207\346\215\242.py" +++ "b/air_case/cmdc_website/\347\253\231\347\202\271\345\210\207\346\215\242.air/\347\253\231\347\202\271\345\210\207\346\215\242.py" @@ -15,7 +15,6 @@ import json module = "cmdc_website" -url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url2") # print(url) # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 username = commonFuc().get_business_data(module, "username1") @@ -23,6 +22,9 @@ password = commonFuc().get_business_data(module, "password1") # 鑾峰彇鐧诲綍鍚嶤mdc_access_token cmdc_access_token = CmdcMaiiLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) + +# 杩涜绔欑偣鍒囨崲 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url2") request_body = commonFuc().get_business_data(module, "payload2") """ diff --git "a/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.py" "b/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.py" index ec624dc5d0b0263da1ed0d08ab9c3e74c2fb5fcf..7394909fb8f1ee14df96e5ae3dccf983bad46868 100644 --- "a/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.py" +++ "b/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.air/\350\216\267\345\217\226\347\253\231\347\202\271\344\277\241\346\201\257.py" @@ -15,7 +15,6 @@ import json module = "cmdc_website" -url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url1") # print(url) # 鑾峰彇鐧诲綍鎵€闇€璐﹀彿瀵嗙爜 username = commonFuc().get_business_data(module, "username") @@ -23,6 +22,9 @@ password = commonFuc().get_business_data(module, "password") # 鑾峰彇鐧诲綍鍚嶤mdc_access_token cmdc_access_token = CmdcMaiiLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) + +# 鑾峰彇绔欑偣淇℃伅 +url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url1") request_body = commonFuc().get_business_data(module, "payload1") """ diff --git "a/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.air/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.py" "b/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.air/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.py" index c970049371f020d6228ad93597d1ba2081197ad5..40b6ccd3edc6ff8fe2018f28bfa751f38751c49f 100644 --- "a/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.air/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.py" +++ "b/air_case/cmdc_website/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.air/\350\216\267\345\217\226\347\253\231\347\202\271\345\225\206\345\223\201.py" @@ -21,6 +21,7 @@ password = commonFuc().get_business_data(module, "password1") # 鑾峰彇鐧诲綍鍚嶤mdc_access_token cmdc_access_token = CmdcMaiiLogin(username, password).get_token() headers = commonFuc().get_business_data(module, "json_headers", cmdc_access_token) + # 绗簩姝ュ垏鎹㈣嚦瀛愮珯鐐� url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "url2") request_body = commonFuc().get_business_data(module, "payload2") diff --git a/data/cmdc_buyercart_handle/data b/data/cmdc_buyercart_handle/data index 6fcbaddd17a3fb0adafd40753c1cd7d82f185703..0f21294fd2a12c88ed06ea0d8fb587694a17b87b 100644 --- a/data/cmdc_buyercart_handle/data +++ b/data/cmdc_buyercart_handle/data @@ -32,6 +32,7 @@ checkDict1: {"success":true,"code":"200","message":"OK"} "payload30": {"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃":{"datas":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1000086,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"15000.0000","productAmount":15000,"payableAmount":15000,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00102","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":1000086,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":9036,"productName":"鑴夋悘琛€姘ф祴閲忎华","productCode":"10357517","productNature":"01","brandName":null,"optionStr":"Rad-5v","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/16/0a2741f8-6870-483e-ba10-07b7d21ca05c.png","lineNumber":null,"price":15000,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":15000,"measuringUnit":"鍙�","auxiliaryMeasuringUnit":"PF","procurementMeasuringUnit":"PF","pricingMeasuringUnit":"PF","materialCode":"9197","manufacturer":"杩堝績璇哄叕鍙�/Masimo Corporation","produceRegisterNum":null,"riskRank":"002","productClassify":"6821-2","createTime":null,"updateTime":1695697442000,"deleteSign":0,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":15000,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"Rad-5v","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":2,"buyerCartId":"%s","userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":130,"productTax":"","taxRate":0.17,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":0,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":0,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0}],"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.17,"rebateType":0,"paymentAmountWholeLine":15000,"discountAmountWholeLine":0,"payableAmountWholeLine":15000,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"Rad-5v","pageStart":null,"pageSize":null,"changeSgin":null,"yapei":2,"companyId":2,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"preDisSign":0,"shareType":null,"singleRebateSign":null,"cf":false,"notice":null,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":15000,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false}],"addressConfig":1,"openPreTaxAmount":1,"notice":"888鍝佺被榻愬叏锛岃交鏉捐喘鐗╁揩澶氫粨鐩村彂锛屾瀬閫熼厤閫佸ソ姝e搧琛岃揣锛岀簿鑷存湇鍔$渷澶╁ぉ浣庝环锛岀晠閫夋棤蹇у搧绫婚綈鍏紝杞绘澗璐墿蹇浠撶洿鍙戯紝鏋侀€熼厤閫佸ソ姝e搧琛岃揣锛岀簿鑷存湇鍔$渷澶╁ぉ浣庝环锛岀晠閫夋棤蹇у搧绫婚綈鍏紝杞绘澗璐墿蹇浠撶洿鍙戯紝鏋侀€熼厤閫佸ソ姝e搧琛岃揣锛岀簿鑷存湇鍔$渷澶╁ぉ浣庝环锛岀晠閫夋棤蹇у搧绫婚綈鍏紝杞绘澗璐墿蹇浠撶洿鍙戯紝鏋侀€熼厤閫佸ソ姝e搧琛岃揣锛岀簿鑷存湇鍔$渷澶╁ぉ浣庝环锛岀晠閫夋棤蹇у搧绫婚綈鍏紝杞绘澗璐墿蹇浠撶洿鍙戯紝鏋侀€熼厤閫佸ソ姝e搧琛岃揣锛岀簿鑷存湇","promotionOrRebate":1,"promotionType":1,"showChangePromotionOrRebate":false,"couponTotalAmount":0,"activityTotalAmount":0,"totalQuantity":1,"totalPrice":15000,"discountAmount":0,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00102","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":1000086,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":9036,"productName":"鑴夋悘琛€姘ф祴閲忎华","productCode":"10357517","productNature":"01","brandName":null,"optionStr":"Rad-5v","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/16/0a2741f8-6870-483e-ba10-07b7d21ca05c.png","lineNumber":null,"price":15000,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":15000,"measuringUnit":"鍙�","auxiliaryMeasuringUnit":"PF","procurementMeasuringUnit":"PF","pricingMeasuringUnit":"PF","materialCode":"9197","manufacturer":"杩堝績璇哄叕鍙�/Masimo Corporation","produceRegisterNum":null,"riskRank":"002","productClassify":"6821-2","createTime":null,"updateTime":1695697442000,"deleteSign":0,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":15000,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"Rad-5v","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":2,"buyerCartId":"%s","userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":130,"productTax":"","taxRate":0.17,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":0,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":0,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0}],"productPrice":"15000.0000","fileList":[],"showInfo":false,"pageStart":1,"pageSize":5,"receiveInfo":[{"addressId":16309,"addressNo":19199,"addressName":"姝︽眽甯傛椽灞卞尯楂樻柊澶ч亾777鍙�","provinceCode":null,"userId":null,"companyId":null,"receiverName":"钀у嘲","address":"","isDefault":0,"type":null,"postcode":null,"mobile":"13878900987","updateDate":null,"updateTime":null,"flag":null,"deleteSign":null,"province":null,"city":null,"area":null,"dateTime":null,"provinceStr":null,"cityStr":null,"areaStr":null,"isJde":0}],"defaultBankInfo":{"accountId":32,"companyId":2,"companyName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","registeredAddress":"鍖椾含甯傞『涔夊尯閲戣埅涓矾3鍙烽櫌绀剧涓績1鍙锋ゼ3鍗曞厓2灞�301","bank":"涓浗宸ュ晢閾惰鍖椾含鏀","accountName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","accountNumber":"108902839271937437","disableSign":0,"deleteSign":0,"createTime":"2021-01-12 16:12:03","updateTime":"2021-01-12 16:12:33","createBy":2,"updateBy":2,"realName":"瀛愬叕鍙�1admin"},"addressList":[{"addressId":16309,"addressNo":19199,"addressName":null,"provinceCode":null,"userId":null,"companyId":2,"receiverName":"钀у嘲","address":"姝︽眽甯傛椽灞卞尯楂樻柊澶ч亾777鍙�","isDefault":0,"type":3,"postcode":null,"mobile":"13878900987","updateDate":123258,"updateTime":174051,"flag":null,"deleteSign":null,"province":0,"city":0,"area":0,"dateTime":null,"provinceStr":"","cityStr":"","areaStr":"","isJde":0,"cityList":[],"areaList":[]}],"selecteAddresId":16309,"receiverNote":"钀у嘲","receiverPhoneNote":"13878900987","receiverAddressNote":"姝︽眽甯傛椽灞卞尯楂樻柊澶ч亾777鍙�","addressNoNote":19199,"province":0,"city":0,"cityList":[],"area":0,"areaList":[],"paymentAmount":"15000.0000","taxRate":0.17,"demands":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1000086,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"15000.0000","productAmount":15000,"payableAmount":15000,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00102","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":1000086,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":9036,"productName":"鑴夋悘琛€姘ф祴閲忎华","productCode":"10357517","productNature":"01","brandName":null,"optionStr":"Rad-5v","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/16/0a2741f8-6870-483e-ba10-07b7d21ca05c.png","lineNumber":null,"price":15000,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":15000,"measuringUnit":"鍙�","auxiliaryMeasuringUnit":"PF","procurementMeasuringUnit":"PF","pricingMeasuringUnit":"PF","materialCode":"9197","manufacturer":"杩堝績璇哄叕鍙�/Masimo Corporation","produceRegisterNum":null,"riskRank":"002","productClassify":"6821-2","createTime":null,"updateTime":1695697442000,"deleteSign":0,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":15000,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"Rad-5v","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":2,"buyerCartId":"%s","userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":130,"productTax":"","taxRate":0.17,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":0,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":0,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0,"orderType":null}],"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.17,"rebateType":0,"paymentAmountWholeLine":15000,"discountAmountWholeLine":0,"payableAmountWholeLine":15000,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"Rad-5v","pageStart":null,"pageSize":null,"changeSgin":null,"yapei":2,"companyId":2,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"preDisSign":0,"shareType":null,"singleRebateSign":null,"cf":false,"notice":null,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":15000,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false,"pSign":0}],"orderStatus":102,"userReceiveId":"","userReceiveId2":"","productAmount":15000,"paymentType":0,"accountId":32,"receiveBankName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","receiveBankAccount":"108902839271937437","addressNumber":19199,"receiverName":"钀у嘲","receiverContact":"13878900987","receiverAddress":"姝︽眽甯傛椽灞卞尯楂樻柊澶ч亾777鍙�","buyerCartIds":["%s","%s"],"sellerCompanyCode":"00102","companyId":2},"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃":{"datas":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1000086,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"30.0000","productAmount":30,"payableAmount":30,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":1000086,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":1190,"productName":"鐧捐兘閫熷共鎵嬫秷姣掑嚌鑳�","productCode":"13768100","productNature":"03","brandName":null,"optionStr":"500ml/鐡�","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/29/72e7cb48-580b-455d-b56d-bddb14b8fc6c.JPG","lineNumber":null,"price":30,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":30,"measuringUnit":"鐡�","auxiliaryMeasuringUnit":"BT","procurementMeasuringUnit":"BT","pricingMeasuringUnit":"BT","materialCode":"","manufacturer":"鏉窞鏈楃储鍖荤敤娑堟瘨鍓傛湁闄愬叕鍙�","produceRegisterNum":null,"riskRank":"","productClassify":"9998","createTime":null,"updateTime":1695697596000,"deleteSign":0,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":30,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"500ml/鐡�","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":3,"buyerCartId":"%s","userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":130,"productTax":"","taxRate":0,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":0,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":0,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0}],"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0,"rebateType":0,"paymentAmountWholeLine":30,"discountAmountWholeLine":0,"payableAmountWholeLine":30,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"500ml/鐡�","pageStart":null,"pageSize":null,"changeSgin":null,"yapei":2,"companyId":3,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"preDisSign":0,"shareType":null,"singleRebateSign":null,"cf":false,"notice":null,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":30,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"_rebateType":false,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100}],"addressConfig":2,"openPreTaxAmount":0,"promotionOrRebate":1,"promotionType":1,"showChangePromotionOrRebate":false,"couponTotalAmount":0,"activityTotalAmount":0,"totalQuantity":1,"totalPrice":30,"discountAmount":0,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":1000086,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":1190,"productName":"鐧捐兘閫熷共鎵嬫秷姣掑嚌鑳�","productCode":"13768100","productNature":"03","brandName":null,"optionStr":"500ml/鐡�","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/29/72e7cb48-580b-455d-b56d-bddb14b8fc6c.JPG","lineNumber":null,"price":30,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":30,"measuringUnit":"鐡�","auxiliaryMeasuringUnit":"BT","procurementMeasuringUnit":"BT","pricingMeasuringUnit":"BT","materialCode":"","manufacturer":"鏉窞鏈楃储鍖荤敤娑堟瘨鍓傛湁闄愬叕鍙�","produceRegisterNum":null,"riskRank":"","productClassify":"9998","createTime":null,"updateTime":1695697596000,"deleteSign":0,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":30,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"500ml/鐡�","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":3,"buyerCartId":"%s","userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":130,"productTax":"","taxRate":0,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":0,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":0,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0}],"productPrice":"30.0000","fileList":[],"showInfo":false,"pageStart":1,"pageSize":5,"receiveInfo":[],"defaultBankInfo":{"accountId":52,"companyId":3,"companyName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","registeredAddress":"鍖椾含甯備笢鍩庡尯","bank":"寤鸿閾惰19","accountName":"寤鸿閾惰鍖椾含鏀19","accountNumber":"62231478523685414","disableSign":0,"deleteSign":0,"createTime":"2021-01-25 11:17:26","updateTime":"2021-01-25 11:17:26","createBy":2,"realName":"瀛愬叕鍙�1admin"},"addressList":[{"addressId":5243,"addressNo":0,"addressName":null,"provinceCode":null,"userId":null,"companyId":3,"receiverName":"鍙朵簩濞�","address":"宓╁北灏戞灄瀹�","isDefault":1,"type":5,"postcode":null,"mobile":"13223233434","updateDate":null,"updateTime":0,"flag":null,"deleteSign":null,"province":1681,"city":1797,"area":null,"dateTime":null,"provinceStr":"婀栧寳鐪�","cityStr":"浠欐甯�","areaStr":null,"isJde":0,"cityList":[{"areaId":1682,"areaCode":"420100","areaName":"姝︽眽甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1696,"areaCode":"420200","areaName":"榛勭煶甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1703,"areaCode":"420300","areaName":"鍗佸牥甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1712,"areaCode":"420500","areaName":"瀹滄槍甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1726,"areaCode":"420600","areaName":"瑗勯槼甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1736,"areaCode":"420700","areaName":"閯傚窞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1740,"areaCode":"420800","areaName":"鑽嗛棬甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1746,"areaCode":"420900","areaName":"瀛濇劅甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1754,"areaCode":"421000","areaName":"鑽嗗窞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1763,"areaCode":"421100","areaName":"榛勫唸甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1774,"areaCode":"421200","areaName":"鍜稿畞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1781,"areaCode":"421300","areaName":"闅忓窞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1785,"areaCode":"422800","areaName":"鎭╂柦鍦熷鏃忚嫍鏃忚嚜娌诲窞","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1794,"areaCode":"429005","areaName":"娼滄睙甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1795,"areaCode":"429021","areaName":"绁炲啘鏋舵灄鍖�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1796,"areaCode":"429006","areaName":"澶╅棬甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1797,"areaCode":"429004","areaName":"浠欐甯�","level":null,"cityCode":null,"center":null,"parentId":null}],"areaList":[]}],"selecteAddresId":5243,"receiverNote":"鍙朵簩濞�","receiverPhoneNote":"13223233434","receiverAddressNote":"婀栧寳鐪佷粰妗冨競宓╁北灏戞灄瀹�","addressNoNote":0,"province":1681,"city":1797,"cityList":[{"areaId":1682,"areaCode":"420100","areaName":"姝︽眽甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1696,"areaCode":"420200","areaName":"榛勭煶甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1703,"areaCode":"420300","areaName":"鍗佸牥甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1712,"areaCode":"420500","areaName":"瀹滄槍甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1726,"areaCode":"420600","areaName":"瑗勯槼甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1736,"areaCode":"420700","areaName":"閯傚窞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1740,"areaCode":"420800","areaName":"鑽嗛棬甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1746,"areaCode":"420900","areaName":"瀛濇劅甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1754,"areaCode":"421000","areaName":"鑽嗗窞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1763,"areaCode":"421100","areaName":"榛勫唸甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1774,"areaCode":"421200","areaName":"鍜稿畞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1781,"areaCode":"421300","areaName":"闅忓窞甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1785,"areaCode":"422800","areaName":"鎭╂柦鍦熷鏃忚嫍鏃忚嚜娌诲窞","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1794,"areaCode":"429005","areaName":"娼滄睙甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1795,"areaCode":"429021","areaName":"绁炲啘鏋舵灄鍖�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1796,"areaCode":"429006","areaName":"澶╅棬甯�","level":null,"cityCode":null,"center":null,"parentId":null},{"areaId":1797,"areaCode":"429004","areaName":"浠欐甯�","level":null,"cityCode":null,"center":null,"parentId":null}],"area":null,"areaList":[],"paymentAmount":"30.0000","taxRate":0.17,"demands":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1000086,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"30.0000","productAmount":30,"payableAmount":30,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":1000086,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":1190,"productName":"鐧捐兘閫熷共鎵嬫秷姣掑嚌鑳�","productCode":"13768100","productNature":"03","brandName":null,"optionStr":"500ml/鐡�","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2020/12/29/72e7cb48-580b-455d-b56d-bddb14b8fc6c.JPG","lineNumber":null,"price":30,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":30,"measuringUnit":"鐡�","auxiliaryMeasuringUnit":"BT","procurementMeasuringUnit":"BT","pricingMeasuringUnit":"BT","materialCode":"","manufacturer":"鏉窞鏈楃储鍖荤敤娑堟瘨鍓傛湁闄愬叕鍙�","produceRegisterNum":null,"riskRank":"","productClassify":"9998","createTime":null,"updateTime":1695697596000,"deleteSign":0,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":30,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"500ml/鐡�","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":3,"buyerCartId":"%s","userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":130,"productTax":"","taxRate":0,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":0,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":0,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"purchaseEntryId":null,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"sort":0,"circleArea":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0,"orderType":null}],"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0,"rebateType":0,"paymentAmountWholeLine":30,"discountAmountWholeLine":0,"payableAmountWholeLine":30,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"500ml/鐡�","pageStart":null,"pageSize":null,"changeSgin":null,"yapei":2,"companyId":3,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"preDisSign":0,"shareType":null,"singleRebateSign":null,"cf":false,"notice":null,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":30,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"_rebateType":false,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"pSign":0}],"orderStatus":102,"userReceiveId":"","userReceiveId2":"","productAmount":30,"paymentType":0,"accountId":52,"receiveBankName":"寤鸿閾惰鍖椾含鏀19","receiveBankAccount":"62231478523685414","buyerCartIds":["%s","%s"],"sellerCompanyCode":"00103","companyId":3}} #棰勬湡缁撴灉 checkDict2: {"success":true,"code":"200","message":null} +checkDict2_1: {"success":False,"code":"30452","message":"鐢ㄦ埛璇佺収鏍¢獙閿欒"} #鏌ヨ宸叉坊鍔犺嚦璐墿杞﹀晢鍝佸搴旂殑id #鍟嗗搧-鍥借仈鍏徃-鑴夋悘琛€姘ф祴閲忎华 diff --git a/data/cmdc_demand_create_pc/data b/data/cmdc_demand_create_pc/data index 78f088eb1267c42ad63f92b3f429aa645782c2c4..8892c4fbf12570bbaef55711ff775ed44ec2fcc4 100644 --- a/data/cmdc_demand_create_pc/data +++ b/data/cmdc_demand_create_pc/data @@ -15,6 +15,7 @@ json_headers: { "payload": {"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃":{"datas":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1127254,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"230.0000","productAmount":230,"payableAmount":230,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"","productLineName":"","propertyStr":"","storageType":"999","suppDist":null,"productId":314,"productName":"绾㈠娴嬫俯浠�","productCode":"12043728","productNature":null,"brandName":null,"optionStr":"YHW-3","imageUrl":null,"lineNumber":null,"price":230,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":230,"measuringUnit":"鏀�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"姹熻嫃楸艰穬鍖荤敤浠櫒鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":230,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"YHW-3","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":[],"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":3,"buyerCartId":null,"userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":1,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0}],"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":230,"discountAmountWholeLine":0,"payableAmountWholeLine":230,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"YHW-3","pageStart":null,"pageSize":null,"changeSgin":null,"yapei":2,"companyId":3,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":230,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false}],"addressConfig":2,"openPreTaxAmount":0,"promotionOrRebate":1,"promotionType":1,"showChangePromotionOrRebate":false,"couponTotalAmount":0,"activityTotalAmount":0,"totalQuantity":1,"totalPrice":230,"discountAmount":0,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"","productLineName":"","propertyStr":"","storageType":"999","suppDist":null,"productId":314,"productName":"绾㈠娴嬫俯浠�","productCode":"12043728","productNature":null,"brandName":null,"optionStr":"YHW-3","imageUrl":null,"lineNumber":null,"price":230,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":230,"measuringUnit":"鏀�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"姹熻嫃楸艰穬鍖荤敤浠櫒鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":230,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"YHW-3","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":[],"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":3,"buyerCartId":null,"userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":1,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0}],"productPrice":"230.0000","fileList":[],"showInfo":false,"pageStart":1,"pageSize":5,"defaultBankInfo":{"accountId":1,"companyId":3,"companyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","registeredAddress":"鍖椾含甯傛湞闃冲尯瀹夊畾璺�39鍙烽暱鏂板ぇ鍘�16灞�","bank":"鎷涘晢閾惰鑲′唤鏈夐檺鍏徃鍖椾含涓滅洿闂ㄦ敮琛� ","accountName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","accountNumber":"110927396010401 ","disableSign":0,"deleteSign":0,"createTime":"2020-12-30 17:18:49","updateTime":"2021-05-28 09:54:12","createBy":2,"updateBy":2,"realName":"鍖椾含鍖荤枟鍣ㄦ鍏徃1admin"},"addressList":[{"addressId":3278,"addressNo":93465,"addressName":null,"provinceCode":null,"userId":null,"companyId":3,"receiverName":"閮孩澹�","address":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","isDefault":0,"type":3,"postcode":null,"mobile":"15887223281","updateDate":120211,"updateTime":100440,"flag":null,"deleteSign":null,"province":0,"city":0,"area":0,"dateTime":null,"provinceStr":"","cityStr":"","areaStr":"","isJde":0,"cityList":[],"areaList":[]}],"selecteAddresId":3278,"receiverNote":"閮孩澹�","receiverPhoneNote":"15887223281","receiverAddressNote":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","addressNoNote":93465,"province":0,"city":0,"cityList":[],"area":0,"areaList":[],"receiveInfo":[{"addressId":3278,"addressNo":93465,"addressName":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","provinceCode":null,"userId":null,"companyId":null,"receiverName":"閮孩澹�","address":"","isDefault":0,"type":null,"postcode":null,"mobile":"15887223281","updateDate":null,"updateTime":null,"flag":null,"deleteSign":null,"province":null,"city":null,"area":null,"dateTime":null,"provinceStr":null,"cityStr":null,"areaStr":null,"isJde":0}],"paymentAmount":"230.0000","taxRate":null,"demands":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1127254,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"230.0000","productAmount":230,"payableAmount":230,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"","productLineName":"","propertyStr":"","storageType":"999","suppDist":null,"productId":314,"productName":"绾㈠娴嬫俯浠�","productCode":"12043728","productNature":null,"brandName":null,"optionStr":"YHW-3","imageUrl":null,"lineNumber":null,"price":230,"rebateId":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":230,"measuringUnit":"鏀�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"姹熻嫃楸艰穬鍖荤敤浠櫒鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":100,"realPay":230,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"YHW-3","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":[],"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"lockType":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":3,"buyerCartId":null,"userReceiveIdx":"","userReceiveIdx2":"","limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":1,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"rebate":false,"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":0,"orderType":null}],"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":230,"discountAmountWholeLine":0,"payableAmountWholeLine":230,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"YHW-3","pageStart":null,"pageSize":null,"changeSgin":null,"yapei":2,"companyId":3,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":230,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false,"pSign":0}],"orderStatus":102,"userReceiveId":"","userReceiveId2":"","productAmount":230,"paymentType":0,"accountId":1,"receiveBankName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","receiveBankAccount":"110927396010401 ","addressNumber":93465,"receiverName":"閮孩澹�","receiverContact":"15887223281","receiverAddress":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","buyerCartIds":[null],"sellerCompanyCode":"00103","companyId":3}} #棰勬湡缁撴灉 checkDict: {"success":true,"code":"200","message":null} +checkDict_1: {"success":false,"code":"30461","message":"鍟嗗搧璇佺収鏍¢獙閿欒"} #闇€姹傚崟鑽夌ǹ璁㈠崟鍒涘缓鎺ュ彛鍦板潃 "url2": "/product/public/draft/add" diff --git a/data/cmdc_demand_mall/data b/data/cmdc_demand_mall/data new file mode 100644 index 0000000000000000000000000000000000000000..fa1262dee83a565b80407cb794fcb05d655e6ca9 --- /dev/null +++ b/data/cmdc_demand_mall/data @@ -0,0 +1,310 @@ +# 澶氶噰鍟嗗煄鐧诲綍淇℃伅 +"username": "BJ0621" +"password": "Aa123456" + +#鍚庡彴杩愯惀绠$悊绯荤粺鐧诲綍淇℃伅(瀛愮珯鐐逛笂娴峰尰鐤楀櫒姊版湁闄愬叕鍙�) +"username1": "Admin00111" +"password1": "Aa123456" + + +#鍚庡彴绠$悊绯荤粺headers +json_headers: { + "Content-Type": "application/json", + "Cmdc_access_token": "%s" +} + +#鏂囦欢涓婁紶headers +json_headers_file: { + "Cmdc_access_token": "%s" +} + +#澶氶噰鍟嗗煄headers +json_headers1: { + "Cmdc_access_token": "%s", + "Sourcetype": "mall" +} + +#娴嬭瘯鍦烘櫙涓€锛氶渶姹傚崟鍒楄〃鑾峰彇鎺ュ彛楠岃瘉 +"url1": "/order/public/ownListDemand" +"payload1": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":null,"shipmentType":null,"pageStart":5,"pageSize":10} +#棰勬湡缁撴灉 +checkDict1: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙浜岋細鏌ヨ鏉′欢楠岃瘉_闇€姹傚崟鍒楄〃 +"url2": "/order/public/ownListDemand" +"payload2": {"sellerCompanyCodes":["%s"],"startTime":"%s","endTime":"%s","productCode":"%s","productInfoValue":"%s","manufacturerList":null,"orderNum":"%s","paymentType":"%s","preferenceType":"%s","changeSign":null,"mainOrderStatus":null,"shipmentType":null,"pageStart":1,"pageSize":10} +#棰勬湡缁撴灉 +checkDict2: {"orderNum":"%s"} + +#娴嬭瘯鍦烘櫙涓夛細鏌ヨ鏉′欢楠岃瘉_瀹℃牳鍙樺姩璁㈠崟_闇€姹傚崟鍒楄〃 +"url3": "/order/public/ownListDemand" +"payload3": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":1,"mainOrderStatus":null,"shipmentType":0,"pageStart":1,"pageSize":10} +#棰勬湡缁撴灉 +checkDict3: {"changeSign":1} + +#娴嬭瘯鍦烘櫙鍥涳細鏌ヨ鏉′欢楠岃瘉_鐘舵€乢闇€姹傚崟鍒楄〃 +"url4": "/order/public/ownListDemand" +"payload4": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":2,"shipmentType":null,"pageStart":1,"pageSize":10} +#棰勬湡缁撴灉 +checkDict4: {"orderStatus":102} + + +#娴嬭瘯鍦烘櫙浜旓細鑾峰彇鍏徃绔欑偣鎺ュ彛楠岃瘉 +"url5": "/user/public/queryCompanyOptionsByCompanyCode" +"payload5": {} +#棰勬湡缁撴灉 +checkDict5: {"success":true,"code":"200","message":"OK"} + +#娴嬭瘯鍦烘櫙鍏細鑾峰彇璁㈠崟绫诲瀷鎺ュ彛楠岃瘉 +"url6": "/user/public/getOrderTypeByUserId" +"payload6": {"userId":69} +#棰勬湡缁撴灉 +checkDict6: {"success":true,"code":"200","message":"OK"} + +#娴嬭瘯鍦烘櫙涓冿細妯$硦鏌ヨ鐢熶骇鍘傚鍒楄〃鎺ュ彛楠岃瘉 +"url7": "/product/public/getTipsList" +"payload7": {"sign":1,"inputValue":"%s"} +#棰勬湡缁撴灉 +checkDict7: {"data":"%s"} + + +#娴嬭瘯鍦烘櫙鍏細鑾峰彇闇€姹傚崟璇︽儏楠岃瘉 +"url8": "/order/public/getDemandDetailVo" +"payload8": {"demandParentCode":"%s","demandCode":"%s"} +#棰勬湡缁撴灉 +checkDict8: {"demandCode":"%s"} + +#娴嬭瘯鍦烘櫙涔濓細鑾峰彇瀹℃牳浜哄憳鍒楄〃楠岃瘉 +"url9": "/order/public/auditStay/getAuditStayList" +"payload9": {"demandCode":"%s"} +#棰勬湡缁撴灉 +checkDict9: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙鍗侊細鑾峰彇鍘熷闇€姹傝鎯呴獙璇� +"url10": "/order/demandOrg/public/getChangeDemand" +"payload10": {"demandCode":"%s"} +#棰勬湡缁撴灉 +checkDict10: {"demandCode":"%s"} + + +#娴嬭瘯鍦烘櫙鍗佷竴锛氳幏鍙栫珯鐐逛俊鎭獙璇乢闇€姹傚崟 +"url11": "/cms/public/website/queryWebsiteByCompanyIdNoCode" +"payload11": {"companyId":6} +#棰勬湡缁撴灉 +checkDict11: {"companyId":6} + + + +#娴嬭瘯鍦烘櫙鍗佷簩锛氳幏鍙栭渶姹傚崟鎿嶄綔璁板綍淇℃伅楠岃瘉 +"url12": "/order/public/getOperationFlow" +"payload12": {"demandCode":"%s","demandParentCode":"%s","AuditCompanyNameCode":"00111"} +#棰勬湡缁撴灉 +checkDict12: {"success":true,"code":"200","message":"璇锋眰鎴愬姛锛屽睍绀烘搷浣滄祦姘�"} + + +#娴嬭瘯鍦烘櫙鍗佷笁锛氳幏鍙栭渶姹傚崟瀛愬崟鍒楄〃楠岃瘉 +"url13": "/order/public/demandSubSku/list" +"payload13": {"demandCode":"%s","pageStart":1,"pageSize":9999999,"total":1,"demandSubCode":"%s"} +#棰勬湡缁撴灉 +checkDict13: {"demandSubCode":"%s"} +checkDict13_1: {"success":True,"code":"200"} + + +#娴嬭瘯鍦烘櫙鍗佸洓锛氳幏鍙栭渶姹傚崟瀛愬崟璇︽儏楠岃瘉 +"url14": "/order/public/demandSub/detail" +"payload14": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict14: {"demandId":"%s"} +checkDict14_1: {"success":True,"code":"200"} + + +#娴嬭瘯鍦烘櫙鍗佷簲锛氳幏鍙栭攢鍞鍗曞悎鍚岄厤缃獙璇� +"url15": "/order/public/contract/config" +"payload15": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict15: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙鍗佸叚锛氳幏鍙栬鍗曞彉鍔ㄦ槑缁嗗垪琛ㄩ獙璇� +"url16": "/order/mall/demandChange/list" +"payload16": {"demandCode":"%s","frontIdent":1} +#棰勬湡缁撴灉 +checkDict16_1: {"success":true,"code":"200","message":"OK"} +checkDict16: {"demandCode":"%s"} + + +#娴嬭瘯鍦烘櫙鍗佷竷锛氳幏鍙栬鍗曞彉鍔ㄦ槑缁嗛獙璇� +"url17": "/order/mall/demandChangeDetail/page" +"payload17": {"frontIdent":1,"demandChangeId":"%s","pageSize":10,"pageNum":1,"total":0} +#棰勬湡缁撴灉 +checkDict17: {"demandChangeId":"%s"} + + +#娴嬭瘯鍦烘櫙鍗佸叓锛氳幏鍙栬鍗曞彉鍔ㄦ槑缁嗛噾棰濋獙璇� +"url18": "/order/mall/demandChange/calPrice" +"payload18": {"demandCode":"%s","frontIdent":1} +#棰勬湡缁撴灉 +checkDict18_1: {"success":true,"code":"200","message":"OK"} +checkDict18: {"isChange":True} + + +#娴嬭瘯鍦烘櫙鍗佷節锛氶獙璇佽鍗曟槸鍚﹁鍗犵敤 +"url19": "/order/public/demandTakeUp" +"payload19": {"demandId":"%s","type":1} +#棰勬湡缁撴灉 +checkDict19: {"success":True,"code":"200","message":"OK","data":"鍗犵敤鎴愬姛"} + +#娴嬭瘯鍦烘櫙浜屽崄锛氳幏鍙栬鍗曟暟鎹獙璇乢璁㈠崟淇敼 +"url20": "/order/public/getOrderModifyData" +"payload20": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict20: {"success":true,"code":"200","message":"鏌ヨ鎴愬姛"} +# 鑾峰彇寰呭鏍搁渶姹傚崟鎶ユ枃 +"payload20_1": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":2,"shipmentType":null,"pageStart":1,"pageSize":10} + + +#娴嬭瘯鍦烘櫙浜屽崄涓€锛氳鍗曞鍑哄姛鑳介獙璇乢闇€姹傚崟鍒楄〃 +"url21": "/order/public/exportOwnListDemand" +"payload21": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"%s","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":null,"shipmentType":null,"pageStart":1,"pageSize":10} +#棰勬湡缁撴灉 +checkDict21: {"demandCode":"%s"} + + +#娴嬭瘯鍦烘櫙浜屽崄浜岋細闇€姹傚崟閿€鍞悎鍚屼笅杞藉姛鑳介獙璇� +"url22": "/order/public/back/exportSalesContract" +"payload22": {"demandId":"%s","productName":null,"manufacturer":null,"materialCode":null,"produceRegisterNum":null,"productLineName":null,"pageSize":10,"pageStart":1,"excelType":1} +#棰勬湡缁撴灉 +checkDict22: {"demandCode":"%s"} +# 鑾峰彇ERP澶勭悊涓渶姹傚崟鎶ユ枃 +"payload22_1": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":5,"shipmentType":null,"pageStart":1,"pageSize":10} + +#娴嬭瘯鍦烘櫙浜屽崄涓夛細闇€姹傚崟鍙栨秷鍔熻兘楠岃瘉 +"url23": "/order/public/customerCancel" +"payload23": {"demandId":40213,"demandParentId":38196,"demandParentCode":"s2312120700012","demandCode":"17023358016932833","customerId":69,"customerName":"鍥借嵂闆嗗洟浜戝崡鍖荤枟鍣ㄦ鏈夐檺鍏徃","customerCode":1127254,"loginName":"BJ0621","realName":"閮孩澹�","addressNumber":null,"mobile":"15887223281","productName":null,"productCode":null,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","paymentType":0,"receiveBankName":"寤鸿閾惰鍖椾含鏀19","receiveBankAccount":"62231478523685414","paymentAmount":45,"productAmount":45,"payableAmount":0,"refundAmount":0,"cancelAmount":0,"discountAmount":0,"orderStatus":102,"refundStatus":null,"receiverName":"閮孩澹�","receiverContact":"15887223281","receiverAddress":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":"娴嬭瘯","flhsStatus":0,"pushJdeStatus":null,"createTime":"2023-12-12 07:03:21","updateTime":"2023-12-12 07:03:21","submitTime":"2023-12-12 07:03:22","pushJdeTime":null,"successTime":null,"auditStatus":0,"deleteSign":0,"firstOrderFlag":0,"demandItems":[{"demandSkuId":201118,"demandId":40213,"distributionId":null,"companyCode":null,"demandCode":"17023358016932833","demandParentId":38196,"sellerCompanyId":3,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","customerCode":1127254,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":822,"productName":"鍖荤敤闃叉姢鍙g僵","productCode":"13295500","productNature":null,"brandName":null,"optionStr":"瀵嗗悎鍨嬫嫳褰�(13.5cm脳12cm)","imageUrl":null,"lineNumber":1,"price":20,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":0,"lackQuantity":0,"cancelQuantity":0,"cancelAmount":0,"refundQuantity":0,"refundAmount":0,"discountQuantity":0,"discountAmount":0,"subtotal":20,"measuringUnit":"鏀�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"YYPS20210031","manufacturer":"鍖椾含涓寳鍗氬仴绉戣锤鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":"2023-12-11T23:03:21.000+0000","updateTime":"2023-12-11T23:03:21.000+0000","deleteSign":0,"calCancelFlag":0,"refundFlag":0,"discountRate":1,"realPay":20,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":0,"returnAmount":0,"customerId":null,"prescription":null,"specifications":null,"lineCodeDelete":null,"sdOutStorage":0,"licenseNo":"浜鑽洃姊扮敓浜ц20020039鍙�","demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"13295500","activityCarDataVoList":null,"productReplaceLogs":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"replaceSgin":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":[],"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":1,"changeSgin":null,"addSgin":0,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":0,"fulCancelQuantity":0,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":null,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false},{"demandSkuId":201119,"demandId":40213,"distributionId":null,"companyCode":null,"demandCode":"17023358016932833","demandParentId":38196,"sellerCompanyId":3,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","customerCode":1127254,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":160,"productName":"涓€娆℃€т娇鐢ㄦ墜鏈。","productCode":"10980792","productNature":null,"brandName":null,"optionStr":"鏅€氬瀷 M120cm脳140cm","imageUrl":null,"lineNumber":2,"price":25,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":0,"lackQuantity":0,"cancelQuantity":0,"cancelAmount":0,"refundQuantity":0,"refundAmount":0,"discountQuantity":0,"discountAmount":0,"subtotal":25,"measuringUnit":"浠�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"绋冲仴鍖荤枟鐢ㄥ搧鑲′唤鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":"2023-12-11T23:03:21.000+0000","updateTime":"2023-12-11T23:03:21.000+0000","deleteSign":0,"calCancelFlag":0,"refundFlag":0,"discountRate":1,"realPay":25,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":0,"returnAmount":0,"customerId":null,"prescription":null,"specifications":null,"lineCodeDelete":null,"sdOutStorage":0,"licenseNo":"閯傞鑽洃姊扮敓浜ц20100306鍙�","demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"10980792","activityCarDataVoList":null,"productReplaceLogs":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"replaceSgin":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":[],"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":2,"changeSgin":null,"addSgin":0,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":0,"fulCancelQuantity":0,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":null,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":null,"discountAmountWholeLine":null,"payableAmountWholeLine":null,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":0,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":0,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":1,"orderSource":1,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":null,"pageStart":null,"pageSize":null,"changeSgin":0,"yapei":2,"companyId":3,"userReceiveId2":null,"preemptConfig":null,"productSpec":null,"secondAuditSign":0,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":null,"rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":[],"imageUrls":null,"total":null,"submitTimeStr":"2023-12-12 07:03:22","updateTimeStr":"2023-12-12 07:03:21","auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":"","newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":0,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":1,"groupChangeSign":0,"custModify":0,"demandSubCode":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":0,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":15,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":"鍙朵簩濞�","receiverPhoneNote":"13223233434","receiverAddressNote":"婀栧寳鐪佷粰妗冨競宓╁北灏戞灄瀹�","flag":null,"sourceStr":null,"addressNoNote":0,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":"0","detail":{"ypTotalPrice":"0","payableAmount":"0.0000","isChange":false,"rebateAmount":"0.00","returnPrice":"0","rebateChangePrice":"0","changePrice":"0","activityChangePrice":"0","ypPromotionTotal":"0","nowAmount":"0"},"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":2,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":"ac17023358014592533","forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":8,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":1,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":"0","confirmReceiptTime":null,"afterSaleDays":30,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":[{"receiverNote":"鍙朵簩濞�","receiverPhoneNote":"13223233434","receiverAddressNote":"婀栧寳鐪佷粰妗冨競宓╁北灏戞灄瀹�"}],"splitOrMerge":0,"spitOrderSign":1,"productAmountWholeLine":null,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"proofURLList":[],"updateSgin":0,"soList":[]} +#棰勬湡缁撴灉 +checkDict23: {"orderStatus":201} +checkDict23_1: {"success": False, "code": "demand", "message": "璇ヨ鍗曞凡鎻愪氦杩囷紝璇风◢鍚庢搷浣�"} + +#娴嬭瘯鍦烘櫙浜屽崄鍥涳細瑙i櫎璁㈠崟鍗犵敤鍔熻兘楠岃瘉 +"url24": "/order/public/removeDemandTakeUp" +"payload24": {"demandId":"%s","type":1} +#棰勬湡缁撴灉 +checkDict24: {"success":true,"code":"200","message":"OK","data":"0"} + + +#娴嬭瘯鍦烘櫙浜屽崄浜旓細璁㈠崟淇敼鍔熻兘楠岃瘉 +"url25": "/order/public/orderModify" +"payload25": {"datas":[{"demandId":40174,"demandParentId":38157,"demandParentCode":"s2312110700012","demandCode":"17022493988974979","customerId":69,"customerName":"鍥借嵂闆嗗洟浜戝崡鍖荤枟鍣ㄦ鏈夐檺鍏徃","customerCode":1127254,"loginName":"BJ0621","realName":"閮孩澹�","addressNumber":null,"mobile":"15887223281","productName":null,"productCode":null,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","paymentType":0,"receiveBankName":"寤鸿閾惰鍖椾含鏀19","receiveBankAccount":"62231478523685414","paymentAmount":"45.00","productAmount":45,"payableAmount":"45.00","refundAmount":0,"cancelAmount":0,"discountAmount":0,"orderStatus":102,"refundStatus":null,"receiverName":"閮孩澹�","receiverContact":"15887223281","receiverAddress":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":0,"pushJdeStatus":null,"createTime":"2023-12-11 07:03:18","updateTime":"2023-12-11 07:03:18","submitTime":"2023-12-11 07:03:19","pushJdeTime":null,"successTime":null,"auditStatus":0,"deleteSign":0,"firstOrderFlag":0,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":200989,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":"17022493988974979","demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","customerCode":1127254,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":822,"productName":"鍖荤敤闃叉姢鍙g僵","productCode":"13295500","productNature":null,"brandName":null,"optionStr":"瀵嗗悎鍨嬫嫳褰�(13.5cm脳12cm)","imageUrl":null,"lineNumber":null,"price":20,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":"20.00","measuringUnit":"鏀�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"YYPS20210031","manufacturer":"鍖椾含涓寳鍗氬仴绉戣锤鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":20,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":null,"lineCodeDelete":1,"sdOutStorage":0,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"13295500","activityCarDataVoList":null,"productReplaceLogs":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"replaceSgin":0,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":"1","ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":1,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":null,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":0,"prepromotionTotalPrice":0,"preDiscountRate":1,"userBalance":0,"orderType":null},{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":200990,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":"17022493988974979","demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","customerCode":1127254,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":160,"productName":"涓€娆℃€т娇鐢ㄦ墜鏈。","productCode":"10980792","productNature":null,"brandName":null,"optionStr":"鏅€氬瀷 M120cm脳140cm","imageUrl":null,"lineNumber":null,"price":25,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":"25.00","measuringUnit":"浠�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"绋冲仴鍖荤枟鐢ㄥ搧鑲′唤鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":25,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":null,"lineCodeDelete":1,"sdOutStorage":0,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"10980792","activityCarDataVoList":null,"productReplaceLogs":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"replaceSgin":0,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":"1","ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":2,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":null,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":0,"prepromotionTotalPrice":0,"preDiscountRate":1,"userBalance":0,"orderType":null}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":45,"discountAmountWholeLine":null,"payableAmountWholeLine":null,"discountRate":100,"singleRebateAmount":null,"isRebateEdit":0,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":0,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":1,"orderSource":1,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":null,"pageStart":1,"pageSize":5,"changeSgin":0,"yapei":2,"companyId":3,"preemptConfig":null,"productSpec":null,"secondAuditSign":0,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":null,"rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":[],"imageUrls":null,"total":null,"submitTimeStr":"2023-12-11 07:03:19","updateTimeStr":"2023-12-11 07:03:18","auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":0,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":0,"groupChangeSign":0,"custModify":0,"demandSubCode":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":0,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":"閮孩澹�","receiverPhoneNote":"15887223281","receiverAddressNote":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","flag":null,"sourceStr":null,"addressNoNote":93465,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":"ac17022493986807758","forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":8,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":1,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":"0","confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":0,"spitOrderSign":1,"productAmountWholeLine":null,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"editProductListFlag":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"showInfo":false,"addressConfig":2,"isExpire":false,"totalPriceNum":0,"settementQuantity":2,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false,"selecteAddresId":3278}]} +#棰勬湡缁撴灉 +checkDict25: {"success":true,"code":"200","message":"淇敼鎴愬姛"} + +#娴嬭瘯鍦烘櫙浜屽崄鍏細闇€姹傚崟鍟嗗搧杩斿埄鏄庣粏鑾峰彇楠岃瘉 +"url26": "/order/public/demandRebateSku/demandCode" +"payload26": {"demandCode":"%s"} +#棰勬湡缁撴灉 +checkDict26: {"demandCode":"%s"} + + +#娴嬭瘯鍦烘櫙浜屽崄涓冿細鑾峰彇闇€姹傚垪琛ㄦ槑缁哶鏀粯椤甸潰 +"url27": "/order/mall/listDemand" +"payload27": {"demandParentCode":"%s"} +#棰勬湡缁撴灉 +checkDict27: {"demandParentCode":"%s"} +# 鑾峰彇寰呮敮浠橀渶姹傚崟鎶ユ枃 +"payload27_1": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":4,"shipmentType":null,"pageStart":1,"pageSize":10} + + +#娴嬭瘯鍦烘櫙浜屽崄鍏細鑾峰彇璁㈠崟鏀粯閲戦楠岃瘉 +"url28": "/order/public/allPayMoeny" +"payload28": {"code":"%s"} +#棰勬湡缁撴灉 +checkDict28: {"customerCharge":"%s"} + + +#娴嬭瘯鍦烘櫙浜屽崄涔濓細鑾峰彇鏀粯淇℃伅楠岃瘉_鏀粯椤甸潰 +"url29": "/order/public/toPayList" +"payload29": {"code":"%s"} +#棰勬湡缁撴灉 +checkDict29: {"customerCharge":"%s"} + +#娴嬭瘯鍦烘櫙涓夊崄锛氭牴鎹敤鎴锋煡璇㈠叕鍙镐俊鎭獙璇� +"url30": "/user/public/queryCompanyByUser" +"payload30": {} +#棰勬湡缁撴灉 +checkDict30: {"success":true,"code":"200","message":"OK"} + +#娴嬭瘯鍦烘櫙涓夊崄涓€锛氭牴鎹渶姹俰d鑾峰彇鍏徃id楠岃瘉 +"url31": "/order/mall/getCompanyIdByDemandId" +"payload31": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict31: {"success":true,"code":"200","message":"OK"} + +#娴嬭瘯鍦烘櫙涓夊崄浜岋細鏍规嵁闇€姹俰d鑾峰彇鍏徃id楠岃瘉 +"url32": "/order/mall/getCompanyIdByDemandId" +"payload32": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict32: {"success":true,"code":"200","message":"OK"} + +#娴嬭瘯鍦烘櫙涓夊崄涓夛細鏌ヨ绾夸笅鏀粯璐﹀彿淇℃伅楠岃瘉 +"url33": "/cms/mall/account/queryPageByCompanyId" +"payload33": {"pageSize":9,"pageNumber":1,"companyId":"7","sort":"0200002919200155850"} +#棰勬湡缁撴灉 +checkDict33: {"total":"%s"} + + +#娴嬭瘯鍦烘櫙涓夊崄鍥涳細涓婁紶鏀粯鍑瘉鍔熻兘楠岃瘉 +"url34": "/product/public/fileUpload" +"payload34": {} +#棰勬湡缁撴灉 +checkDict34: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙涓夊崄浜旓細鎻愪氦璁㈠崟鏀粯璇佹槑鍔熻兘楠岃瘉 +"url35": "/order/public/uploadOrderProof" +"payload35": {"demandParentCode":"s2309011600016","proofRemark":"","proofURL":"%s","receiveBankAccount":"0200002919200155850","receiveBankName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃"} +#棰勬湡缁撴灉 +checkDict35: {"success":true,"code":"200","message":"OK","data":1} + +#娴嬭瘯鍦烘櫙涓夊崄鍏細楠岃瘉璁㈠崟鏄惁宸叉敮浠� +"url36": "/order/public/payStatus" +"payload36": {"orderNo":"%s"} +#棰勬湡缁撴灉 +checkDict36_1: {"success":true,"code":"200","message":"OK","data":1} +checkDict36: {"success":true,"code":"200","message":"OK","data":0} + +#娴嬭瘯鍦烘櫙涓夊崄涓冿細楠岃瘉璁㈠崟鏄惁琚崰鐢� +"url37": "/order/public/isDemandTakeUp" +"payload37": {"demandId":"%s","type":2} +#棰勬湡缁撴灉 +checkDict37: {"success":true,"code":"200","message":"OK","data":0} + +#娴嬭瘯鍦烘櫙涓夊崄鍏細鑾峰彇鑽夌ǹ璁㈠崟璇︽儏 +"url38": "/product/public/draft/detail" +"payload38": {"id":"%s"} +#棰勬湡缁撴灉 +checkDict38: {"id":"%s"} +# 鑾峰彇鑽夌ǹ璁㈠崟鎶ユ枃 +"payload38_1": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":8,"shipmentType":null,"pageStart":1,"pageSize":10} + +#娴嬭瘯鍦烘櫙涓夊崄涔濓細鍟嗗搧涓嬫灦鎷︽埅楠岃瘉_璁㈠崟淇敼 +"url39": "/order/public/orderModify" +"payload39": {"datas":[{"demandId":40218,"demandParentId":38201,"demandParentCode":"s2312120700029","demandCode":"17023358707481373","customerId":69,"customerName":"鍥借嵂闆嗗洟浜戝崡鍖荤枟鍣ㄦ鏈夐檺鍏徃","customerCode":1127254,"loginName":"BJ0621","realName":"閮孩澹�","addressNumber":93465,"mobile":"15887223281","productName":null,"productCode":null,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","paymentType":0,"receiveBankName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","receiveBankAccount":"110927396010401","paymentAmount":"230.00","productAmount":230,"payableAmount":"230.00","refundAmount":0,"cancelAmount":0,"discountAmount":0,"orderStatus":102,"refundStatus":null,"receiverName":"閮孩澹�","receiverContact":"15887223281","receiverAddress":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":0,"pushJdeStatus":null,"createTime":"2023-12-12 07:04:30","updateTime":"2023-12-12 07:04:30","submitTime":"2023-12-12 07:04:31","pushJdeTime":null,"successTime":null,"auditStatus":0,"deleteSign":0,"firstOrderFlag":0,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":201126,"demandId":null,"distributionId":null,"companyCode":"00103","demandCode":"17023358707481373","demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":"鍥借嵂闆嗗洟鍖椾含鍖荤枟鍣ㄦ鏈夐檺鍏徃","sellerCompanyCode":"00103","customerCode":1127254,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":314,"productName":"绾㈠娴嬫俯浠�","productCode":"12043728","productNature":null,"brandName":null,"optionStr":"YHW-3","imageUrl":null,"lineNumber":null,"price":230,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":"230.00","measuringUnit":"鏀�","auxiliaryMeasuringUnit":null,"procurementMeasuringUnit":null,"pricingMeasuringUnit":null,"materialCode":"","manufacturer":"姹熻嫃楸艰穬鍖荤敤浠櫒鏈夐檺鍏徃","produceRegisterNum":null,"riskRank":null,"productClassify":null,"createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":230,"promotionPrice":0,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":null,"lineCodeDelete":1,"sdOutStorage":0,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":null,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":"12043728","activityCarDataVoList":null,"productReplaceLogs":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"replaceSgin":0,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":"1","ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":1,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":null,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":null,"taxRate":null,"demandSplitSign":null,"hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":1,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":0,"prepromotionTotalPrice":0,"preDiscountRate":1,"userBalance":0,"orderType":null}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":230,"discountAmountWholeLine":null,"payableAmountWholeLine":null,"discountRate":100,"singleRebateAmount":null,"isRebateEdit":0,"payCertUrl":null,"rebateAmount":0,"demandCance":0,"soAdd":0,"soCance":0,"orderReturn":0,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":0,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":1,"orderSource":1,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":null,"pageStart":1,"pageSize":5,"changeSgin":0,"yapei":2,"companyId":3,"preemptConfig":null,"productSpec":null,"secondAuditSign":0,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":null,"rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":[],"imageUrls":null,"total":null,"submitTimeStr":"2023-12-12 07:04:31","updateTimeStr":"2023-12-12 07:04:30","auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":0,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":0,"groupChangeSign":0,"custModify":0,"demandSubCode":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":0,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":"閮孩澹�","receiverPhoneNote":"15887223281","receiverAddressNote":"浜戝崡鐪佹槅鏄庡競楂樻柊鎶€鏈紑鍙戝尯浜т笟鍩哄湴B1-02-01鍦板潡鐗╂祦鍥簩鏈熼」鐩�1鍙峰簱M1-2-1,M1-2-2鍙�","flag":null,"sourceStr":null,"addressNoNote":93465,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":0,"snSgin":0,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":"ac17023358705126089","forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":8,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":1,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":"0","confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":0,"spitOrderSign":1,"productAmountWholeLine":null,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"editProductListFlag":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"showInfo":false,"addressConfig":2,"isExpire":false,"totalPriceNum":0,"settementQuantity":1,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false,"selecteAddresId":3278}]} +#棰勬湡缁撴灉 +checkDict39: {"errMessage": "绾㈠娴嬫俯浠晢鍝佸凡琚笅鏋讹紝璇疯繑鍥為噸鏂版彁浜ゃ€�"} + + + + + + + + + + + + + + + diff --git a/data/cmdc_files/test_file.jpg b/data/cmdc_files/test_file.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c3ed9fcb7eca5b62ee4132c2e8947750fbb9ebec Binary files /dev/null and b/data/cmdc_files/test_file.jpg differ diff --git a/data/cmdc_fresenius_group/data b/data/cmdc_fresenius_group/data index 9fb9d2928e83c5380d495240fa5ca2119ea666c3..9209df9b054573a3b87b73a901d13dfaa5aa400a 100644 --- a/data/cmdc_fresenius_group/data +++ b/data/cmdc_fresenius_group/data @@ -130,7 +130,7 @@ checkDict15: {"success":false,"code":"FRESENIUS_GROUP_ERROR","message":"缁勬垚 #棰勬湡缁撴灉 checkDict16: {"success":false,"code":"FRESENIUS_GROUP_ERROR","message":"缁勬垚涓€涓鍖呭唴鍟嗗搧闇€婊¤冻濂楀寘鍦ㄥ悓涓€浜у搧绾夸笅","data":null,"freshToken":null} "other_product": {"productCode":"10057881","productName":"閫犲彛鎶ょ悊鐢ㄥ搧闄勪欢","manufacturer":"Coloplast A/S","manufacturerCode":"7000118","optionStr":"12070","storageCondition":"999","activityUnitAmount":null,"price":15.2,"measuringUnit":"涓�","materialCode":"","description":"","quantity":"1","manufacturerProductNo":null,"manufacturerProductDesc":null,"produceRegisterNum":"鍥芥娉ㄨ繘20152664141","productLineName":"搴蜂箰淇�","productLineCode":"3111"} - +checkDict16_1: {"success":true,"code":"200","message":"OK","data":true} #娴嬭瘯鍦烘櫙鍗佷竷锛氬鍖呮洿鏂伴獙璇� diff --git a/data/cmdc_order_handle/data b/data/cmdc_order_handle/data new file mode 100644 index 0000000000000000000000000000000000000000..61baeef989cb5f58f743b173b8b74bb2e5a6c172 --- /dev/null +++ b/data/cmdc_order_handle/data @@ -0,0 +1,209 @@ +# 澶氶噰鍟嗗煄鐧诲綍淇℃伅 +"username": "BJ0621" +"password": "Aa123456" + +#鍚庡彴杩愯惀绠$悊绯荤粺鐧诲綍淇℃伅(瀛愮珯鐐逛笂娴峰尰鐤楀櫒姊版湁闄愬叕鍙�) +"username1": "Admin00111" +"password1": "Aa123456" + + +#鍚庡彴绠$悊绯荤粺headers +json_headers: { + "Content-Type": "application/json", + "Cmdc_access_token": "%s" +} + +#鏂囦欢涓婁紶headers +json_headers_file: { + "Cmdc_access_token": "%s" +} + +#澶氶噰鍟嗗煄headers +json_headers1: { + "Cmdc_access_token": "%s", + "Sourcetype": "mall" +} + +#娴嬭瘯鍦烘櫙涓€锛氭煡璇de閰嶇疆鎺ュ彛楠岃瘉 +#绔欑偣鏌ヨ鎺ュ彛淇℃伅 +"url_query_website": "/cms/public/website/queryAll" +"payload_query_website": {} +#鏌ヨjde閰嶇疆鎺ュ彛淇℃伅 +"url_jde_config": "/user/public/queryJdeConfigByCode" +"payload_jde_config": {"companyId":"%s"} +#棰勬湡缁撴灉 +checkDict_jde_config: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙涓€锛氭煡璇㈠晢鍝佷俊鎭帴鍙i獙璇� +#鏌ヨ宸蹭笂鏋跺晢鍝佷俊鎭� +"url_product": "/product/mall/queryProductInfoByPage" +"payload_product": {"isFbList":0,"filialeCode":null,"productName":null,"productCode":null,"specifications":null,"materialCode":null,"manufacturer":null,"lineName":null,"riskRank":null,"isRelease":"1","isExistImage":null,"jdeStatus":"P","isGift":null,"description":null,"tbsj":[],"pageNum":1,"pageSize":8,"total":8869,"firstQuery":true,"flag":true,"preInvalidStatus":null,"isControlSales":"0","startTime":null,"endTime":null,"status":101} +#鏌ヨ鍟嗗搧淇℃伅鎺ュ彛楠岃瘉 +"url1": "/product/mall/queryProductInfoById" +"payload1": {"productId":"%s"} +#棰勬湡缁撴灉 +checkDict1: {"productId":"%s"} + +#娴嬭瘯鍦烘櫙浜岋細楠岃瘉鏌ヨ宸蹭笅鏋跺晢鍝� +#鏌ヨ宸蹭笅鏋跺晢鍝佷俊鎭� +"url2": "/product/mall/queryProductInfoByPage" +"payload2": {"isFbList":0,"filialeCode":null,"productName":null,"productCode":null,"specifications":null,"materialCode":null,"manufacturer":null,"lineName":null,"riskRank":null,"isRelease":null,"isExistImage":null,"jdeStatus":null,"isGift":null,"description":null,"tbsj":[],"pageNum":1,"pageSize":8,"total":482,"firstQuery":true,"flag":true,"preInvalidStatus":null,"isControlSales":null,"startTime":null,"endTime":null,"status":102} + +#娴嬭瘯鍦烘櫙涓夛細楠岃瘉鏌ヨ鎺ч攢鍟嗗搧 +#鏌ヨ鎺ч攢鍟嗗搧淇℃伅 +"url3": "/product/queryControlSalesProduct" +"payload3": {"isFbList":0,"filialeCode":null,"productName":null,"productCode":null,"specifications":null,"materialCode":null,"manufacturer":null,"lineName":null,"riskRank":null,"isRelease":"1","isExistImage":null,"jdeStatus":"P","isGift":null,"description":null,"tbsj":[],"pageNum":1,"pageSize":8,"total":411,"firstQuery":true,"flag":true,"preInvalidStatus":null,"isControlSales":null,"startTime":null,"endTime":null} + +#娴嬭瘯鍦烘櫙鍥涳細楠岃瘉鏌ヨ宸插け鏁堝晢鍝� +#鏌ヨ宸蹭笂鏋跺晢鍝佷俊鎭� +"url4": "/product/mall/queryProductByJdeStatus" +"payload4": {"isFbList":0,"filialeCode":null,"productName":null,"productCode":null,"specifications":null,"materialCode":null,"manufacturer":null,"lineName":null,"riskRank":null,"isRelease":null,"isExistImage":null,"jdeStatus":null,"isGift":null,"description":null,"tbsj":[],"pageNum":1,"pageSize":8,"total":3440,"firstQuery":true,"flag":true,"preInvalidStatus":null,"isControlSales":"0","startTime":null,"endTime":null} + +#娴嬭瘯鍦烘櫙浜旓細楠岃瘉涓嬪崟鏃朵笉浼犲湴鍧€淇℃伅 +#涓嬪崟鎺ュ彛淇℃伅 +"url5": "/order/public/saveAllDemandOrder" +"payload5": {"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃":{"datas":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1068927,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"40000.00","productAmount":40000,"payableAmount":20000,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00102","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":9038,"productName":"鑴夋悘纰虫哀琛€姘ф祴閲忎华","productCode":"10416500","productNature":"01","brandName":null,"optionStr":"Rad-57","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/16/8453e463-ac86-4e1d-bbe8-9dfd6b8e020f.png","lineNumber":null,"price":20000,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":"2","sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":"40000.00","measuringUnit":"鍙�","auxiliaryMeasuringUnit":"PF","procurementMeasuringUnit":"PF","pricingMeasuringUnit":"PF","materialCode":"9216","manufacturer":"杩堝績璇哄叕鍙�","produceRegisterNum":null,"riskRank":"002","productClassify":"6821-2","createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":40000,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"Rad-57","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":0,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":7,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":1,"userBalance":0,"fresenuis":false,"selectGiftArr":[],"selectZeroGiftObj":{"mainProductList":[],"giftProductList":[]}}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":20000,"discountAmountWholeLine":0,"payableAmountWholeLine":20000,"discountRate":100,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"Rad-57","pageStart":1,"pageSize":5,"changeSgin":null,"yapei":2,"companyId":7,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":null,"groupChangeSign":null,"custModify":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":20000,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"editProductListFlag":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"showInfo":false,"addressConfig":2,"isExpire":false,"settementQuantity":2,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false,"lastSaveDemanadItems":null,"totalPriceNum":0}],"addressConfig":2,"openPreTaxAmount":1,"notice":"绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず绔欑偣绾ф彁绀虹珯鐐圭骇鎻愮ず","remark":null,"receiverPhoneNote":"13888715120","promotionOrRebate":1,"promotionType":1,"productLineCodes":[""],"addressIsCommon":true,"showChangePromotionOrRebate":false,"couponTotalAmount":0,"activityTotalAmount":0,"totalQuantity":2,"totalPrice":40000,"discountAmount":0,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00102","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":9038,"productName":"鑴夋悘纰虫哀琛€姘ф祴閲忎华","productCode":"10416500","productNature":"01","brandName":null,"optionStr":"Rad-57","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/16/8453e463-ac86-4e1d-bbe8-9dfd6b8e020f.png","lineNumber":null,"price":20000,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":"2","sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":"40000.00","measuringUnit":"鍙�","auxiliaryMeasuringUnit":"PF","procurementMeasuringUnit":"PF","pricingMeasuringUnit":"PF","materialCode":"9216","manufacturer":"杩堝績璇哄叕鍙�","produceRegisterNum":null,"riskRank":"002","productClassify":"6821-2","createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":40000,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"Rad-57","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":0,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":7,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":1,"userBalance":0,"fresenuis":false,"selectGiftArr":[],"selectZeroGiftObj":{"mainProductList":[],"giftProductList":[]}}],"productPrice":40000,"fileList":[],"showInfo":false,"pageStart":1,"pageSize":5,"receiveInfo":[],"defaultBankInfo":{"accountId":5,"companyId":7,"companyName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","registeredAddress":"鍖椾含甯傞『涔夊尯閲戣埅涓矾3鍙烽櫌澶╃涓囩涓績1鍙锋ゼ3鍗曞厓2灞�201锛堝寳浜ぉ绔虹患鍚堜繚绋庡尯锛�","bank":"涓浗宸ュ晢閾惰鑲′唤鏈夐檺鍏徃鍖椾含鏂拌鍙f敮琛�","accountName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","accountNumber":"0200002919200155850","disableSign":0,"deleteSign":0,"createTime":"2021-06-03 09:46:49","updateTime":"2021-06-03 09:46:49","createBy":114378,"realName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃admin"},"addressList":[],"selecteAddresId":16464,"receiverNote":null,"receiverAddressNote":null,"addressNoNote":105378,"province":0,"city":0,"cityList":[],"area":0,"areaList":[],"paymentAmount":"40000.0000","taxRate":null,"draftDemandId":null,"demands":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1068927,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"40000.00","productAmount":40000,"payableAmount":20000,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00102","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"","productLineName":"","propertyStr":null,"storageType":"999","suppDist":null,"productId":9038,"productName":"鑴夋悘纰虫哀琛€姘ф祴閲忎华","productCode":"10416500","productNature":"01","brandName":null,"optionStr":"Rad-57","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/16/8453e463-ac86-4e1d-bbe8-9dfd6b8e020f.png","lineNumber":null,"price":20000,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":null,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":"2","sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":"40000.00","measuringUnit":"鍙�","auxiliaryMeasuringUnit":"PF","procurementMeasuringUnit":"PF","pricingMeasuringUnit":"PF","materialCode":"9216","manufacturer":"杩堝績璇哄叕鍙�","produceRegisterNum":null,"riskRank":"002","productClassify":"6821-2","createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":40000,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"Rad-57","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":0,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":7,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":false,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":1,"userBalance":0,"fresenuis":false,"selectGiftArr":[],"selectZeroGiftObj":{"mainProductList":[],"giftProductList":[]},"orderType":null}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":null,"rebateAmountList":null,"productLineCode":"","productLineName":"","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":0,"paymentAmountWholeLine":20000,"discountAmountWholeLine":0,"payableAmountWholeLine":20000,"discountRate":100,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":null,"liquidCode":null,"shipmentTypeStr":null,"specifications":"Rad-57","pageStart":1,"pageSize":5,"changeSgin":null,"yapei":2,"companyId":7,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"0","rebateControlSign":0,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":null,"countFormula":null,"countNumber":null,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"notice":null,"shareType":null,"singleRebateSign":null,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":null,"groupChangeSign":null,"custModify":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":20000,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"editProductListFlag":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"showInfo":false,"addressConfig":2,"isExpire":false,"settementQuantity":2,"userBalancePrice":0,"isEdit":true,"discountRateOne":100,"_rebateType":false,"lastSaveDemanadItems":null,"totalPriceNum":0,"pSign":0}],"orderStatus":102,"userReceiveId":null,"userReceiveId2":null,"productAmount":40000,"paymentType":0,"accountId":5,"version":null,"receiveBankName":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃","receiveBankAccount":"0200002919200155850","addressNumber":105378,"receiverName":"","receiverContact":"","receiverAddress":"","buyerCartIds":[""],"sellerCompanyCode":"00102","companyId":7}} +#棰勬湡缁撴灉 +checkDict5: {"success":false,"code":"3021","message":"鍥借嵂闆嗗洟鑱斿悎鍖荤枟鍣ㄦ鏈夐檺鍏徃鏀朵欢浜轰笉鑳戒负绌�","data":null,"freshToken":null} +checkDict5_1: {"success":false,"code":"30452","message":"鐢ㄦ埛璇佺収鏍¢獙閿欒"} + +#娴嬭瘯鍦烘櫙鍏細闄勪欢涓婁紶鎺ュ彛楠岃瘉_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url6": "/order/mall/demandFileUpload" +#棰勬湡缁撴灉 +checkDict6: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙涓冿細鑾峰彇鏀惰揣鍦板潃鍒楄〃_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url7": "/user/mall/getAddressList" +"payload7": {"companyId":7,"pageStart":null,"pageSize":null,"userId":69,"productLineCode":"","defaultMobile":""} +#棰勬湡缁撴灉 +checkDict7: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙鍏細鏌ヨ鏉′欢楠岃瘉_鏀惰揣鍦板潃鍒楄〃 +#鎺ュ彛淇℃伅 +"url8": "/user/mall/getAddressList" +"payload8": {"companyId":7,"pageStart":null,"pageSize":null,"userId":69,"productLineCode":"","defaultMobile":"","searchValue":"%s"} +#棰勬湡缁撴灉 +checkDict8_1: {"receiverName":"%s"} +checkDict8_2: {"address":"%s"} +checkDict8_3: {"mobile":"%s"} + + +#娴嬭瘯鍦烘櫙涔濓細閫氳繃鍟嗗搧缂栫爜鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url9": "/product/public/listQuickOrderProduct" +"payload9": {"type":1,"companyCode":"00102","userNo":"1068927","productCode":"13977315"} +#棰勬湡缁撴灉 +checkDict9: {"productCode":"13977315"} + +#娴嬭瘯鍦烘櫙鍗侊細瑙勬牸鍨嬪彿妯$硦鏌ヨ楠岃瘉_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url10": "/product/public/getMaterialCodeList" +"payload10": {"allMaterialSign":2,"companyCode":"00102","userNo":"1068927","materialCodeInput":"%s"} +#棰勬湡缁撴灉 +checkDict10: {"data":"%s"} + + +#娴嬭瘯鍦烘櫙鍗佷竴锛氶€氳繃瑙勬牸鍨嬪彿鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url11": "/product/public/listQuickOrderProduct" +"payload11": {"type":1,"companyCode":"00102","userNo":"1068927","specificationsExact":"%s"} +#棰勬湡缁撴灉 +checkDict11: {"specifications":"%s"} + +#娴嬭瘯鍦烘櫙鍗佷簩锛氱墿鏂欑紪鐮佹ā绯婃煡璇㈤獙璇乢缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url12": "/product/public/getMaterialCodeList" +"payload12": {"allMaterialSign":1,"companyCode":"00102","userNo":"1068927","materialCodeInput":"%s"} +#棰勬湡缁撴灉 +checkDict12: {"data":"%s"} + +#娴嬭瘯鍦烘櫙鍗佷笁锛氶€氳繃鐗╂枡缂栫爜鏌ヨ鍟嗗搧楠岃瘉_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url13": "/product/public/listQuickOrderProduct" +"payload13": {"type":1,"companyCode":"00102","userNo":"1068927","materialCodeExact":"%s"} +#棰勬湡缁撴灉 +checkDict13: {"materialCode":"%s"} + + +#娴嬭瘯鍦烘櫙鍗佸洓锛氶€氳繃Excel澶嶅埗娣诲姞鍟嗗搧鍔熻兘楠岃瘉_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url14": "/product/public/listQuickOrderProductExcel" +"payload14": {"queryList":[{"productCode":"%s","materialCode":"%s","quantity":"%s"}],"productLineCode":"","companyCode":"00102","userNo":1068927} +#棰勬湡缁撴灉 +checkDict14: {"productCode":"%s"} + +#娴嬭瘯鍦烘櫙鍗佷簲锛氬晢鍝佹竻鍗曡幏鍙栭獙璇乢缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url15": "/product/public/listQuickOrderProduct" +"payload15": {"productCode":null,"productName":null,"materialCode":null,"specifications":null,"productLineName":null,"pageSize":null,"pageNum":null,"total":null,"productLineCode":null,"companyCode":"00102","userNo":"1068927"} +#棰勬湡缁撴灉 +checkDict15: {"success":true,"code":"200","message":"OK"} + +#娴嬭瘯鍦烘櫙鍗佸叚锛氭煡璇㈡潯浠堕獙璇乢鍟嗗搧娓呭崟_缁撶畻椤甸潰 +#鎺ュ彛淇℃伅 +"url16": "/product/public/listQuickOrderProduct" +"payload16": {"productCode":"%s","productName":"%s","materialCode":"%s","specifications":"%s","productLineName":null,"pageSize":null,"pageNum":null,"total":null,"productLineCode":null,"companyCode":"00102","userNo":"1068927"} +#棰勬湡缁撴灉 +checkDict16: {"productCode":"%s"} + +#娴嬭瘯鍦烘櫙鍗佷竷锛氭煡璇㈢敤鎴峰湴鍧€鎺ュ彛楠岃瘉 +#鎺ュ彛淇℃伅 +"url17": "/user/mall/queryUserAddress" +"payload17": {"companyId":7} +#棰勬湡缁撴灉 +checkDict17: {"success":true,"code":"200","message":"OK"} + + +#娴嬭瘯鍦烘櫙鍗佸叓锛氳鍗曚繚瀛樻帴鍙i獙璇乢鍐嶆潵涓€鍗� +#澶氶噰鍟嗗煄闇€姹傚崟鍒楄〃鎺ュ彛淇℃伅 +"url_demand_list": "/order/public/ownListDemand" +"payload_demand_list": {"sellerCompanyCodes":[],"materialCode":"","productCode":"","productInfoValue":"","manufacturerList":null,"orderNum":"%s","paymentType":null,"preferenceType":null,"changeSign":null,"mainOrderStatus":null,"shipmentType":null,"pageStart":null,"pageSize":null} + +#鎺ュ彛淇℃伅 +"url18": "/order/public/saveSameOrder" +"payload18": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict18: {"success":true,"code":"200","message":"ok"} + + +#娴嬭瘯鍦烘櫙鍗佷節锛氬晢鍝佷笅鏋舵嫤鎴獙璇乢涓嬪崟 +#鎺ュ彛淇℃伅 +"url19": "/order/public/saveAllDemandOrder" +"payload19": {"鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃":{"datas":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1126384,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"48.2500","productAmount":48.25,"payableAmount":48.25,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00111","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"3111","productLineName":"搴蜂箰淇�","propertyStr":null,"storageType":"999","suppDist":null,"productId":7991,"productName":"姘磋兌浣撴补绾�","productCode":"10056338","productNature":"01","brandName":null,"optionStr":"3915","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/13/be146b0a-4998-4e03-b250-17ed8d846f8b.jpg","lineNumber":null,"price":48.25,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":0,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":48.25,"measuringUnit":"涓�","auxiliaryMeasuringUnit":"EA","procurementMeasuringUnit":"EA","pricingMeasuringUnit":"EA","materialCode":"","manufacturer":"Coloplast A/S","produceRegisterNum":null,"riskRank":"003","productClassify":"6864","createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":48.25,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"3915","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":0,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":6,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":true,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":1852.1,"useLimitEnd":1,"maxuseLimit":48.25}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":[{"rebateoperaskuid":null,"filialecode":"00111","rebateid":111,"customercode":null,"transactionamount":null,"transactiontype":null,"rebateStartTime":null,"rebateValidity":null,"balance":null,"deletesign":null,"note":null,"createtime":null,"updatetime":null,"demandId":null,"demandCode":null,"relevanceName":null,"rebateName":null,"customerCompanyName":null,"lineCodeDelete":null,"rebateTripId":null,"monNum":null,"relevanceCode":"3111","pageSize":null,"pageNum":null,"startTime":null,"endTime":null,"userId":null,"customerCodeList":null,"filialeCodeList":null,"companyName":null,"reSign":null,"demandParentCode":null,"distributionCode":null,"frontNote":null,"backNote":null,"cancelId":null,"effectivetype":null,"validityperiodSign":null,"soCode":null,"rebatename":"搴蜂箰淇�20230619","useLimitStart":0,"useLimitEnd":1,"istax":1,"taxround":0,"isdisposable":0,"productCode":null,"isOperated":null,"userPrice":null,"rebateFalg":null}],"rebateAmountList":null,"productLineCode":"3111","productLineName":"搴蜂箰淇�","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":1,"paymentAmountWholeLine":48.25,"discountAmountWholeLine":0,"payableAmountWholeLine":48.25,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":1852.1,"liquidCode":null,"shipmentTypeStr":null,"specifications":"3915","pageStart":1,"pageSize":5,"changeSgin":null,"yapei":2,"companyId":6,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"1","rebateControlSign":1,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":1,"countFormula":1,"countNumber":0,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"notice":null,"shareType":1,"singleRebateSign":0,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":null,"groupChangeSign":null,"custModify":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":48.25,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"editProductListFlag":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"showInfo":false,"addressConfig":2,"isExpire":false,"settementQuantity":1,"userBalancePrice":1852.1,"isEdit":true,"discountRateOne":100,"_rebateType":true}],"addressConfig":2,"openPreTaxAmount":0,"remark":null,"receiverPhoneNote":"/","promotionOrRebate":1,"promotionType":1,"productLineCodes":["3111"],"addressIsCommon":true,"showChangePromotionOrRebate":false,"couponTotalAmount":0,"activityTotalAmount":0,"totalQuantity":1,"totalPrice":48.25,"discountAmount":0,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00111","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"3111","productLineName":"搴蜂箰淇�","propertyStr":null,"storageType":"999","suppDist":null,"productId":7991,"productName":"姘磋兌浣撴补绾�","productCode":"10056338","productNature":"01","brandName":null,"optionStr":"3915","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/13/be146b0a-4998-4e03-b250-17ed8d846f8b.jpg","lineNumber":null,"price":48.25,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":0,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":48.25,"measuringUnit":"涓�","auxiliaryMeasuringUnit":"EA","procurementMeasuringUnit":"EA","pricingMeasuringUnit":"EA","materialCode":"","manufacturer":"Coloplast A/S","produceRegisterNum":null,"riskRank":"003","productClassify":"6864","createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":48.25,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"3915","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":0,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":6,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":true,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":1852.1,"useLimitEnd":1,"maxuseLimit":48.25}],"productPrice":"48.2500","fileList":[],"showInfo":false,"pageStart":1,"pageSize":5,"defaultBankInfo":{"accountId":3,"companyId":6,"companyName":"鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃","registeredAddress":"涓婃捣甯傚疂灞卞尯姹熸潹鍗楄矾880鍙峰巶鎴�7骞008","bank":"涓浗鍏夊ぇ閾惰涓婃捣褰郸鏀","accountName":"鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃","accountNumber":"36830188000041806","disableSign":0,"deleteSign":0,"createTime":"2021-05-06 10:46:15","updateTime":"2021-05-06 10:46:15","createBy":2795,"realName":"鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃admin"},"receiveInfo":[{"addressId":27568,"addressNo":82429,"addressName":"鏄嗘槑楂樻柊鎶€鏈骇涓氬紑鍙戝尯椹噾閾洪珮鐧昏矾1676鍙锋按绉戞妧鍥爣鍑嗗伐涓氬巶鎴�1鍙峰姙鍏ゼ4灞�405瀹わ紝2鍙峰伐涓氬巶鎴夸竴灞�101銆�102銆�103銆�104-2瀹�","provinceCode":null,"userId":null,"companyId":null,"receiverName":"/","address":"","isDefault":1,"type":null,"postcode":null,"mobile":"/","updateDate":null,"updateTime":null,"flag":null,"deleteSign":null,"province":null,"city":null,"area":null,"dateTime":null,"provinceStr":null,"cityStr":null,"areaStr":null,"isJde":0}],"addressList":[{"addressId":27568,"addressNo":82429,"addressName":null,"provinceCode":null,"userId":null,"companyId":6,"receiverName":"/","address":"鏄嗘槑楂樻柊鎶€鏈骇涓氬紑鍙戝尯椹噾閾洪珮鐧昏矾1676鍙锋按绉戞妧鍥爣鍑嗗伐涓氬巶鎴�1鍙峰姙鍏ゼ4灞�405瀹わ紝2鍙峰伐涓氬巶鎴夸竴灞�101銆�102銆�103銆�104-2瀹�","isDefault":1,"type":3,"postcode":null,"mobile":"/","updateDate":120035,"updateTime":93623,"flag":null,"deleteSign":null,"province":0,"city":0,"area":0,"dateTime":null,"provinceStr":"","cityStr":"","areaStr":"","isJde":0,"cityList":[],"areaList":[]}],"selecteAddresId":27568,"receiverNote":"/","receiverAddressNote":"鏄嗘槑楂樻柊鎶€鏈骇涓氬紑鍙戝尯椹噾閾洪珮鐧昏矾1676鍙锋按绉戞妧鍥爣鍑嗗伐涓氬巶鎴�1鍙峰姙鍏ゼ4灞�405瀹わ紝2鍙峰伐涓氬巶鎴夸竴灞�101銆�102銆�103銆�104-2瀹�","addressNoNote":82429,"province":0,"city":0,"cityList":[],"area":0,"areaList":[],"paymentAmount":"48.2500","taxRate":null,"draftDemandId":null,"demands":[{"demandId":null,"demandParentId":null,"demandParentCode":null,"demandCode":null,"customerId":null,"customerName":null,"customerCode":1126384,"loginName":null,"realName":null,"addressNumber":null,"mobile":null,"productName":null,"productCode":null,"sellerCompanyName":null,"sellerCompanyCode":null,"paymentType":null,"receiveBankName":null,"receiveBankAccount":null,"paymentAmount":"48.2500","productAmount":48.25,"payableAmount":48.25,"refundAmount":null,"cancelAmount":null,"discountAmount":0,"orderStatus":null,"refundStatus":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"remark":null,"revokedReason":null,"auditById":null,"auditByName":null,"auditTime":null,"auditRemark":null,"flhsStatus":null,"pushJdeStatus":null,"createTime":null,"updateTime":null,"submitTime":null,"pushJdeTime":null,"successTime":null,"auditStatus":null,"deleteSign":null,"firstOrderFlag":null,"demandItems":[{"maxProductNum":999999,"minProductNum":1,"addMinProductNum":1,"minProductNumSign":false,"isMultiple":false,"quantityTip":"","demandSkuId":null,"demandId":null,"distributionId":null,"companyCode":"00111","demandCode":null,"demandParentId":null,"sellerCompanyId":null,"sellerCompanyName":null,"sellerCompanyCode":null,"customerCode":null,"productLineCode":"3111","productLineName":"搴蜂箰淇�","propertyStr":null,"storageType":"999","suppDist":null,"productId":7991,"productName":"姘磋兌浣撴补绾�","productCode":"10056338","productNature":"01","brandName":null,"optionStr":"3915","imageUrl":"https://pro-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2021/04/13/be146b0a-4998-4e03-b250-17ed8d846f8b.jpg","lineNumber":null,"price":48.25,"rebateId":null,"rebateDetail":null,"useMaxLimit":null,"useLimitStart":0,"useBalance":null,"originalPrice":null,"biddingDiscountTax":null,"salesDiscountTax":null,"quantity":1,"sumQuantity":null,"sendQuantity":null,"lackQuantity":null,"cancelQuantity":null,"cancelAmount":null,"refundQuantity":null,"refundAmount":null,"discountQuantity":null,"discountAmount":null,"subtotal":48.25,"measuringUnit":"涓�","auxiliaryMeasuringUnit":"EA","procurementMeasuringUnit":"EA","pricingMeasuringUnit":"EA","materialCode":"","manufacturer":"Coloplast A/S","produceRegisterNum":null,"riskRank":"003","productClassify":"6864","createTime":null,"updateTime":null,"deleteSign":null,"calCancelFlag":null,"refundFlag":null,"discountRate":1,"realPay":48.25,"promotionPrice":null,"promotionTotalPrice":0,"demandParentCode":null,"regionId":null,"regionName":null,"spitSign":null,"activityAmount":0,"couponAmount":0,"activityUnitAmount":0,"couponUnitAmount":null,"activityBasicId":null,"couponSgin":null,"couponSgin2":null,"returnQuantity":null,"returnAmount":null,"customerId":null,"prescription":null,"specifications":"3915","lineCodeDelete":null,"sdOutStorage":null,"licenseNo":null,"demandCodes":null,"areaName":null,"agreementPriceId":0,"offerPrice":null,"orderMark":null,"totalPrice":null,"productLimitBuyList":null,"giftSign":0,"giftProductCode":null,"activityCarDataVoList":null,"orderSource":null,"receiverName":null,"receiverContact":null,"receiverAddress":null,"rebateTripId":null,"allSign":null,"salesReturn":null,"nowAmount":null,"taxSign":0,"plusMinuKey":null,"rebateRule":null,"areaPrice":null,"lockType":null,"estimatedDeliveryDate":null,"licenseInfoFeignDtos":null,"receivedQty":null,"rebateSign":null,"ippMiniPurchaseNum":null,"ippMultipleSign":null,"ippPurchaseMultiple":null,"ippStatus":null,"lineNumberOrg":null,"changeSgin":null,"addSgin":null,"ptbfa1":null,"ptbfa2":null,"ptbfa3":null,"ptbfa4":null,"ptbfa5":null,"yapeiPriceId":null,"ypLinePromotion":null,"yapeiPrice":null,"companyId":6,"buyerCartId":null,"userReceiveIdx":null,"userReceiveIdx2":null,"limitNum":null,"productLimitBuyId":null,"alreadyBuyNum":null,"limitBuySign":0,"proposeNum":null,"takeEffectRange":null,"takeEffectTime":null,"endTime1":null,"groupId":null,"fsGroupId":null,"proposalQuantity":null,"proposalSign":0,"manufacturerUserNo":null,"manufacturerUserDesc":null,"manufacturerProductNo":null,"manufacturerProductDesc":null,"manufacturerUserId":null,"manufacturerProductId":null,"busProductCode":null,"paidTime":null,"customerName":null,"paymentAmount":null,"specQuantity":null,"disQuantity":null,"fulfilledQuantity":null,"fulCancelQuantity":null,"couponId":null,"couponId2":null,"limitS":null,"starts":null,"ends":null,"userId":null,"productTax":"","taxRate":0.13,"demandSplitSign":"1","hospitalHopeDate":null,"uniqueKey":null,"productType":null,"activityRuleId":null,"allowanceBeginTime":null,"allowanceEndTime":null,"sign":null,"differenceActivityUserId":null,"groupNumber":null,"groupName":null,"skuGroup":null,"subList":null,"dataJson":null,"skuMergeSign":null,"freseniusPriceId":null,"quantityAndGroupAll":null,"booleaTime":null,"spitSgin":0,"groupSpitSign":0,"sort":0,"circleArea":null,"purchaseEntryId":null,"mustInstallDate":false,"installedDate":null,"installedDateStr":null,"demandLines":null,"subLineNumber":null,"demandSubCode":null,"propertyName":null,"propertyVal":null,"propertyNote":null,"sendManualSign":0,"activityType":0,"giftSettlementMethod":null,"giftInitQuantity":null,"packageCode":null,"giftGroupQuantity":null,"siteCompanyCode":null,"hospitalOrderType":null,"isCollectionAllocation":null,"recDifferenceQty":null,"orderStatus":null,"distributionType":null,"groupCode":null,"groupProductType":null,"pSign":0,"backSign":0,"description":"","stockNumber":null,"priceChange":false,"rebate":true,"giftList":[],"purchaseZeroProductList":[],"prePromotionPrice":null,"prepromotionTotalPrice":0,"preDiscountRate":null,"userBalance":1852.1,"useLimitEnd":1,"maxuseLimit":48.25,"orderType":null}],"expireDemandSkus":null,"demandSubItems":null,"rebateDetail":[{"rebateoperaskuid":null,"filialecode":"00111","rebateid":111,"customercode":null,"transactionamount":null,"transactiontype":null,"rebateStartTime":null,"rebateValidity":null,"balance":null,"deletesign":null,"note":null,"createtime":null,"updatetime":null,"demandId":null,"demandCode":null,"relevanceName":null,"rebateName":null,"customerCompanyName":null,"lineCodeDelete":null,"rebateTripId":null,"monNum":null,"relevanceCode":"3111","pageSize":null,"pageNum":null,"startTime":null,"endTime":null,"userId":null,"customerCodeList":null,"filialeCodeList":null,"companyName":null,"reSign":null,"demandParentCode":null,"distributionCode":null,"frontNote":null,"backNote":null,"cancelId":null,"effectivetype":null,"validityperiodSign":null,"soCode":null,"rebatename":"搴蜂箰淇�20230619","useLimitStart":0,"useLimitEnd":1,"istax":1,"taxround":0,"isdisposable":0,"productCode":null,"isOperated":null,"userPrice":null,"rebateFalg":null}],"rebateAmountList":null,"productLineCode":"3111","productLineName":"搴蜂箰淇�","auditLoginName":null,"showPurchaseNo":false,"isRebate":null,"isShowReate":null,"taxRate":0.13,"rebateType":1,"paymentAmountWholeLine":48.25,"discountAmountWholeLine":0,"payableAmountWholeLine":48.25,"discountRate":null,"singleRebateAmount":null,"isRebateEdit":null,"payCertUrl":null,"rebateAmount":null,"demandCance":null,"soAdd":null,"soCance":null,"orderReturn":null,"needCustomerConfirm":false,"measuringUnit":null,"productId":null,"version":null,"mainVersion":null,"agencyConfigId":null,"confirmSign":null,"replySign":null,"agencySign":null,"editIng":null,"editIngStr":null,"jdeType":null,"isElectronicSeal":null,"contractAgreementNo":null,"alesDepartmentNo":null,"alesDepartmentName":null,"salesPersonNo":null,"salesPersonName":null,"customerNote":null,"otherNote":null,"contractAgreementCode":null,"projectName":null,"projectCode":null,"regionId":null,"regionName":null,"productLineBindSign":null,"shipVia":null,"orderSource":null,"userBalance":1852.1,"liquidCode":null,"shipmentTypeStr":null,"specifications":"3915","pageStart":1,"pageSize":5,"changeSgin":null,"yapei":2,"companyId":6,"preemptConfig":null,"productSpec":null,"secondAuditSign":null,"secondAuditById":null,"secondAuditByName":null,"secondAuditTime":null,"secondAuditRemark":null,"secondAuditStatus":null,"rebateRule":"1","rebateControlSign":1,"rebateId":null,"preferenceType":null,"preferenceName":null,"disPrice":null,"lineNum":0,"auditStaySign":0,"fileList":null,"imageUrls":null,"total":null,"submitTimeStr":null,"updateTimeStr":null,"auditTimeStr":null,"acceptTime":null,"acceptTimeStr":null,"paidTime":null,"paidTimeStr":null,"erpHandingTime":null,"erpHandingTimeStr":null,"partShippingTime":null,"partShippingTimeStr":null,"allShippingTime":null,"allShippingTimeStr":null,"pushJdeTimeStr":null,"successTimeStr":null,"onlinePaySuccessTime":null,"onlinePaySuccessTimeStr":null,"bankTransactionSerial":null,"newIsTax":1,"countFormula":1,"countNumber":0,"noTaxRebateAmount":0,"isCollectionAllocation":0,"siteCompanyCode":null,"hospitalOrderType":null,"proofTime":null,"proofURL":null,"proofRemark":null,"proofSign":0,"customerCancelSign":null,"cancelRecords":null,"cancelCount":0,"updateNewTime":null,"updateNewTimeStr":null,"fsDedUseSign":null,"notice":null,"shareType":1,"singleRebateSign":0,"cf":false,"isPre":null,"showDemandAuditLineLabel":false,"orderType":null,"newDiscountRate":null,"oldOrderType":null,"oldNewDiscountRate":null,"pendding":null,"modifySign":null,"refuseType":null,"groupChangeSign":null,"custModify":null,"pushJdeStatusDemandSub":null,"circleGiftSign":0,"delay":null,"limitS":null,"starts":null,"ends":null,"completedS":null,"confirmDays":null,"remindS":null,"skuGroupList":null,"groupProductType":0,"purchaseId":null,"purchaseCode":null,"sdCancelTime":null,"sdTipSign":0,"receiverNote":null,"receiverPhoneNote":null,"receiverAddressNote":null,"flag":null,"sourceStr":null,"addressNoNote":null,"detailIsSpit":false,"spitSgin":null,"distributionType":null,"rebateValidity":null,"orderChangeType":null,"logoIcon":null,"detail":null,"changeBigType":null,"promotionType":1,"activityTotalAmount":0,"couponTotalAmount":0,"userReceiveId":null,"editSgin":null,"snSgin":null,"jdeOutAmount":null,"totalAllPaAmount":null,"diffShowSgin":0,"lineCodeDelete":null,"startTime":null,"endTime":null,"changeSign":null,"distributionId":null,"limitBuySign":0,"companyType":null,"afterSale":null,"csId":null,"sdStatusNodeParamList":null,"ypPromotionTotal":null,"acrossMainCode":null,"forceApprovedSign":0,"circleGiftContinueSgin":0,"customerCharge":null,"onlinePaySign":0,"recodeDemandSkuList":null,"mergeDemandSkuList":null,"inventoryNode":null,"customCode":null,"terminalSource":null,"potentialClientsId":null,"settlementStatus":null,"firstOrderAuditStatus":null,"confirmReceiptSign":null,"confirmReceiptTime":null,"afterSaleDays":null,"deliveryCompletedTime":null,"taxSign":0,"orderSplitSign":0,"demandRebateSkuList":null,"confirmTime":null,"customerPurchaseNo":null,"mustInstallDate":false,"secondAddressList":null,"splitOrMerge":null,"spitOrderSign":null,"productAmountWholeLine":48.25,"auditCompanyName":null,"auditCompanyNameCode":null,"edit":false,"editProductListFlag":false,"ratio":null,"showMoreAttribute":false,"lastNoTaxDiscountAmount":0,"lastDiscountAmount":0,"showInfo":false,"addressConfig":2,"isExpire":false,"settementQuantity":1,"userBalancePrice":1852.1,"isEdit":true,"discountRateOne":100,"_rebateType":true,"pSign":0}],"orderStatus":102,"userReceiveId":null,"userReceiveId2":null,"productAmount":48.25,"paymentType":0,"accountId":3,"version":null,"receiveBankName":"鍥借嵂闆嗗洟涓婃捣鍖荤枟鍣ㄦ鏈夐檺鍏徃","receiveBankAccount":"36830188000041806","addressNumber":82429,"receiverName":"/","receiverContact":"/","receiverAddress":"鏄嗘槑楂樻柊鎶€鏈骇涓氬紑鍙戝尯椹噾閾洪珮鐧昏矾1676鍙锋按绉戞妧鍥爣鍑嗗伐涓氬巶鎴�1鍙峰姙鍏ゼ4灞�405瀹わ紝2鍙峰伐涓氬巶鎴夸竴灞�101銆�102銆�103銆�104-2瀹�","buyerCartIds":[""],"sellerCompanyCode":"00111","companyId":6}} +#棰勬湡缁撴灉 +checkDict19: {"message": "鍟嗗搧璇佺収鏍¢獙閿欒"} + + +#娴嬭瘯鍦烘櫙浜屽崄锛氬晢鍝佷笅鏋舵嫤鎴獙璇乢鍐嶆潵涓€鍗� +#鍐嶆潵涓€鍗曟帴鍙d俊鎭� +"url20": "/order/public/saveSameOrder" +"payload20": {"demandId":"%s"} +#棰勬湡缁撴灉 +checkDict20: {"success":false,"code":"ERROR","message":"褰撳墠璁㈠崟鏃犳湁鏁堝晢鍝�","data":null,"freshToken":null} + + +#娴嬭瘯鍦烘櫙浜屽崄涓€锛氬晢鍝侀噾棰濊皟鏁撮獙璇乢鍐嶆潵涓€鍗� +#楠岃瘉褰撳師璁㈠崟涓晢鍝佷环鏍艰淇敼鍚庯紝鍐嶆潵涓€鍗曚腑鍟嗗搧閲戦鏄惁璋冩暣涓烘渶鏂伴噾棰� + +#棰勬湡缁撴灉 +checkDict21: {"productAmount":"%s"} + + +#娴嬭瘯鍦烘櫙浜屽崄浜岋細鍟嗗搧閲戦璋冩暣楠岃瘉_涓嬪崟 +#楠岃瘉杩涜璁㈠崟鎻愪氦鏃讹紝淇敼鍟嗗搧閲戦锛岃鍗曟槸鍚︽寜淇敼鍓嶅晢鍝侀噾棰濊绠� + +#棰勬湡缁撴灉 +checkDict22: {"productAmount":"48.25"} + + +#娴嬭瘯鍦烘櫙浜屽崄涓夛細鑾峰彇鏀舵璐﹀彿鎺ュ彛楠岃瘉 +#鎺ュ彛淇℃伅 +"url23": "/cms/mall/account/queryPageByCompanyId" +"payload23": {"pageSize":null,"pageNumber":null,"companyId":"%s"} +#棰勬湡缁撴灉 +checkDict23: {"companyId":"%s"} \ No newline at end of file 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} diff --git a/data/cmdc_special_fresenius_group/data b/data/cmdc_special_fresenius_group/data index 60fe937f8864ed04beef677dfbe59d084a34cb67..8d087195b647742e6ceaa5e59d1965bc20618d47 100644 --- a/data/cmdc_special_fresenius_group/data +++ b/data/cmdc_special_fresenius_group/data @@ -175,6 +175,7 @@ checkDict19: {"groupPriceStatus": 0} #棰勬湡缁撴灉 checkDict20: {"success":true,"code":"200","message":"OK"} checkDict20_1: {"success":false,"code":"FRESENIUS_GROUP_ERROR","message":"鏈鏂板缁勫唴鍟嗗搧缂栫爜宸插瓨鍦ㄤ簬鍏朵粬缁勯噷锛岃鏍稿宸插缓绔嬬殑缁�","data":null,"freshToken":null} +checkDict20_2: {"success":false,"code":"fresenius_agreement_price","message":"璇ュ鍖呴潰鍚戣瀹㈡埛宸插瓨鍦ㄥ鍖呮浠疯褰曪紝鏃犻渶閲嶅娣诲姞锛�","data":null,"freshToken":null} #娴嬭瘯鍦烘櫙锛氭柊鑰佺紪鐮佺粍鍋滅敤 @@ -301,6 +302,7 @@ checkDict47: {"groupPrice":"%s","groupName":"%s"} checkDict48: {"groupPrice":"%s","documentNo":"%s"} #鏌ヨ鎸囧畾濂楀寘鍗忚鐗逛环淇℃伅 "payload49": {"groupCode":"","groupName":"","productCode":"","productInfo":"","materialCode":"","manufacturerList":[],"productLineName":"","description":"","manufacturerProductDesc":"","manufacturerProductNo":"","customerCode":"","customerName":"","manufacturerUserNo":"","manufacturerUserDesc":"","documentNo":"鍗忚濂楀寘","companyCode":"","groupType":0,"status":null,"pageStart":1,"pageSize":8} +"payload49_1": {"groupCode":"","groupName":"","productCode":"","productInfo":"","materialCode":"","manufacturerList":[],"productLineName":"","description":"","manufacturerProductDesc":"","manufacturerProductNo":"","customerCode":"","customerName":"","manufacturerUserNo":"","manufacturerUserDesc":"","documentNo":"濂楀寘鍗忚鐗逛环鍟嗗搧鏄剧ず楠岃瘉","companyCode":"","groupType":0,"status":null,"pageStart":1,"pageSize":8} #娴嬭瘯鍦烘櫙锛氫唬瀹笅鍗昣濂楀寘娓呭崟_鏌ヨ鏉′欢楠岃瘉 diff --git a/log/runtime.txt b/log/runtime.txt index da73db73e579c2313cca0f90686a603ae32484e3..9c69c7e53cc94b0487486e769ce8eb8eeb023c8a 100644 --- a/log/runtime.txt +++ b/log/runtime.txt @@ -1,55 +1 @@ -鏌ヨ璧犲搧 1695341383430 1695341383724 liguangyu -鏌ヨ澶辨晥鍟嗗搧 1695341384600 1695341384617 liguangyu -鏌ヨ鎺ч攢鍟嗗搧 1695341384633 1695341384651 liguangyu -鏌ヨ宸蹭笂鏋跺晢鍝� 1695341384667 1695341384689 liguangyu -闇€姹傚崟_鑾峰彇鐢ㄦ埛淇℃伅澶辫触 1695341384705 1695341385259 liguangyu -闇€姹傚崟-鑽夌ǹ璁㈠崟鍒犻櫎 1695341385277 1695341387469 liguangyu -鑾峰彇闇€姹傚崟鍒楄〃 1695341387487 1695341389446 liguangyu -闇€姹傚崟-鑽夌ǹ璁㈠崟鍒犻櫎-閫嗗悜 1695341389468 1695341391342 liguangyu -闇€姹傚崟鍒犻櫎 1695341391362 1695341392901 liguangyu -閲嶅鍒犻櫎闇€姹傚崟 1695341392919 1695341394639 liguangyu -鍒犻櫎鍏朵粬鐘舵€佷笅闇€姹傚崟 1695341394659 1695341396211 liguangyu -鍒犻櫎涓嶅瓨鍦ㄧ殑闇€姹傚崟 1695341396229 1695341397377 liguangyu -闇€姹傚崟瀹℃牳閫氳繃_浠e涓嬪崟 1695341397397 1695341404105 liguangyu -闇€姹傚崟瀹℃牳閫氳繃_蹇€熶笅鍗� 1695341404119 1695341412518 liguangyu -闇€姹傚崟鍒涘缓 1695341412538 1695341414487 liguangyu -闇€姹傝崏绋胯鍗曞垱寤� 1695341414505 1695341416671 liguangyu -鏂板璧犲搧_鎺ч攢_鍟嗗搧鑷冲父璐竻鍗曞垪琛� 1695341416690 1695341418596 liguangyu -鏂板涓嶅瓨鍦ㄧ殑鍟嗗搧鑷冲父璐竻鍗曞垪琛� 1695341418615 1695341419290 liguangyu -鏂板璧犲搧鑷冲父璐竻鍗曞垪琛� 1695341419306 1695341421315 liguangyu -鑾峰彇鐢ㄦ埛甯歌喘娓呭崟鍒楄〃 1695341421332 1695341425024 liguangyu -甯歌喘娓呭崟鍒楄〃鍟嗗搧绉婚櫎 1695341425048 1695341428888 liguangyu -鏂板JDE宸插仠鐢ㄧ殑鍟嗗搧鑷冲父璐竻鍗曞垪琛� 1695341428904 1695341430797 liguangyu -鏂板鎺ч攢鍟嗗搧鑷冲父璐竻鍗曞垪琛� 1695341430813 1695341432656 liguangyu -娣诲姞璺ㄧ珯鐐瑰晢鍝佽嚦甯歌喘娓呭崟鍒楄〃 1695341432673 1695341433626 liguangyu -鏂板鍟嗗搧鑷冲父璐竻鍗曞垪琛� 1695341433646 1695341435762 liguangyu -鏂板宸插け鏁堝晢鍝佽嚦甯歌喘娓呭崟鍒楄〃 1695341435783 1695341437875 liguangyu -瀹㈡埛鏌ヨ 1695341437892 1695341439033 liguangyu -瀹℃牳涓嶅瓨鍦ㄧ殑闇€姹傚崟 1695341439053 1695341440000 liguangyu -閲嶅瀹℃牳 1695341440016 1695341442815 liguangyu -瀹℃牳鍏朵粬鐘舵€佺殑闇€姹傚崟 1695341442838 1695341444398 liguangyu -闇€姹傚崟瀹℃牳涓嶉€氳繃 1695341444418 1695341445828 liguangyu -闇€姹傚崟鍒涘缓 1695341445842 1695341448060 liguangyu -闇€姹傚崟鍒犻櫎鎿嶄綔 1695341448077 1695341449480 liguangyu -鑾峰彇闇€姹傚崟鍒楄〃 1695341449498 1695341454095 liguangyu -闇€姹傚崟鍙栨秷鎿嶄綔 1695341454118 1695341455477 liguangyu -鏂板璺ㄧ珯鐐瑰晢鍝佽嚦璐墿杞� 1695341455494 1695341457125 liguangyu -鏂板宸叉帶閿€鍟嗗搧鑷宠喘鐗╄溅鍒楄〃 1695341457144 1695341459274 liguangyu -璐墿杞︽柊澧炲晢鍝� 1695341459290 1695341461465 liguangyu -娣诲姞JDE宸插仠鐢ㄧ殑鍟嗗搧鑷宠喘鐗╄溅鍒楄〃 1695341461484 1695341463728 liguangyu -璐墿杞︽暟閲忎慨鏀归獙璇� 1695341463749 1695341466697 liguangyu -璐墿杞﹀晢鍝佺Щ闄� 1695341466715 1695341468735 liguangyu -鏂板璧犲搧鑷宠喘鐗╄溅 1695341468755 1695341469929 liguangyu -鏂板涓嶅瓨鍦ㄥ晢鍝佽嚦璐墿杞﹀垪琛� 1695341469952 1695341470828 liguangyu -鑾峰彇璐墿杞﹀垪琛� 1695341470846 1695341472525 liguangyu -鏂板宸插け鏁堝晢鍝佽嚦璐墿杞﹀垪琛� 1695341472545 1695341474619 liguangyu -鏂板璧犲搧_鎺ч攢_鍟嗗搧鑷宠喘鐗╄溅 1695341474635 1695341476709 liguangyu -鐢ㄦ埛淇℃伅鏌ヨ 1695341476728 1695341477685 liguangyu -鍟嗗搧鍒楄〃_蹇€熶笅鍗� 1695341477706 1695341479429 liguangyu -鍟嗗搧鍒楄〃_浠e涓嬪崟 1695341479449 1695341481128 liguangyu -鑾峰彇瀹㈡埛鍒楄〃 1695341481149 1695341482426 liguangyu -閲囪喘鍗曟煡璇� 1695341482446 1695341483593 liguangyu -蹇€熶笅鍗曟潈闄恄鍚� 1695341483614 1695341484605 liguangyu -蹇€熶笅鍗曟潈闄恄鑳� 1695341484623 1695341485617 liguangyu -鑾峰彇绔欑偣淇℃伅 1695341485636 1695341486392 liguangyu -绔欑偣鍒囨崲 1695341486412 1695341487156 liguangyu +鍟嗗搧涓嬫灦鎷︽埅楠岃瘉_璁㈠崟淇敼 1702431554548 1702431564240 liguangyu