diff --git "a/air_case/mdm3_pim/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.air/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.py" "b/air_case/mdm3_pim/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.air/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.py" index e490fea7772026fe1f0f6a27fa562b713ba181c6..53f3744df6f3806bbf3defef8ca099432e00b35b 100644 --- "a/air_case/mdm3_pim/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.air/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.py" +++ "b/air_case/mdm3_pim/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.air/\344\272\247\345\223\201\346\226\260\345\242\236\345\222\214\345\256\241\346\240\270\351\200\232\350\277\207.py" @@ -4,7 +4,7 @@ from common.fileUtls import FileUtils __author__ = "xiaohesheng" """ -case_tag:api,mdm-web产品新增和审核,id2251,id2251-1,sit,on,2023091201 +case_tag:api,mdm-web,产品新增和审核,id2251,id2251-1,sit,on,2023091201 主数据平台:产品新增和审核通过 """ diff --git "a/air_case/mdm3_pim/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.air/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.py" "b/air_case/mdm3_psm/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.air/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.py" similarity index 95% rename from "air_case/mdm3_pim/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.air/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.py" rename to "air_case/mdm3_psm/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.air/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.py" index d31629c922e615e42a7786852727f1ebe261da25..a5491ab9da7a0df65e1f9bb482bb921697fd31bd 100644 --- "a/air_case/mdm3_pim/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.air/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.py" +++ "b/air_case/mdm3_psm/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.air/\344\272\247\345\223\201\350\247\204\346\240\274\347\224\263\346\212\245.py" @@ -13,7 +13,7 @@ case_tag:api,mdm-web产品规格新增,id2251,id2251-2,sit,on,2023091202 主数据平台:web产品规格新增 """ -module = "mdm3_pim" +module = "mdm3_psm" # 登录 info = FileUtils().r_info(module,'产品新增') username=info['username'] @@ -41,7 +41,7 @@ url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "submitG headers = commonFuc().get_business_data(module, "json_headers2", commonFuc().get_business_data(module, "json_contentType"), token, projectCode) -request_body = commonFuc().get_business_data(module, "payload11", MGID,goodsname) +request_body = commonFuc().get_business_data(module, "payload1", MGID,goodsname) # print('request_body',request_body) # 发送请求 result = commonFuc().http_post(url, request_body, headers) diff --git a/data/mdm3_psm/data b/data/mdm3_psm/data new file mode 100644 index 0000000000000000000000000000000000000000..11eb5e9a5ffe086e3cd8dfb67f35b970ca75c841 --- /dev/null +++ b/data/mdm3_psm/data @@ -0,0 +1,51 @@ +"listVoPage_url": "/test2api/mdmService/provGoodsInfo/listVoPage" +# 医院注册提交接口_认领 +"queryListPage_url": "/test2api/mdmService/companyRegistBill/listPage" +"updateById_url": "/test2api/mdmService/companyRegistBill/updateById" +"checkHosRegistInfo_url": "/test2api/mdmService/companyRegistBill/checkHosRegistInfo" +"submitGoodsRegist_url": "/test2api/mdmService/goodsRegistBill/submitGoodsRegist" +"listAuditBillByPage_url": "/test2api/mdmService/goodsRegistBill/listAuditBillByPage" +"updateById_url2": "/test2api/mdmService/goodsRegistBill/updateById" +"getGoodsRegistBillDetail_url": "/test2api/mdmService/goodsRegistBill/getGoodsRegistBillDetail/" +"handleAuditGoodsRegist_url": "/test2api/mdmService/goodsRegistBill/handleAuditGoodsRegist/" +"submitGoodsSpecsRegist_url": "/test2api/mdmService/goodsRegistBill/submitGoodsSpecsRegist/" + +"username": "1679886114521" +"password": "a123456!" + + +json_contentType: "application/json" +json_headers: { + "Content-Type": "%s" +} +json_headers2: { + "Content-Type": "%s", + "token": "%s", + "X-APP-CODE":"%s" +} + +"payload1": { + "registSourceProject": "h0347", + "goodsRegistVO": { + "id": "%s", + "goodsMfrsId": "p56a4", + "goodsName": "%s" + }, + "goodsSpecsRegistVOList": [ + { + "goodsGg": "20ml", + "miGoodsGg": "20ml", + "miGoodsXh": "20ml", + "goodsUseUnit": "支", + "mi27code": "123456789012243454", + "udiCode": "12345678901234", + "diType":"0", + "rowNum": 1 + } + ] +} + +"name1": "一次性注射器" +checkDict: {"code": 0, "msg":None,"data": {"pageNum": 1, "pageSize": 20, "total": 0, "data": [], "totalInfo": None}} +checkDict1: {"code": -2,"msg": "医院已被注册,请耐心等待审核通知!", "data": None} +checkDict2: {'code': 0, 'msg': None, 'data': 'success'}