# 多采商城登录信息
"username": "BJ0621"
"password": "Aa123456"

"username3": "GL1000086"
"password3": "Aa123456"

"username_be": "testtest"
"password_be": "Aa123456"

#后台运营管理系统登录信息(子站点上海医疗器械有限公司)
"username1": "Admin00111"
"password1": "Aa123456"

"username1_be": "admin2"
"password1_be": "Aa123456"

"username1_be1": "admin1"
"password1_be1": "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": "/user/back/tripartiteChangeList"
"payload1": {"applyNo":"","applyTimes":[],"pageStart":1,"pageSize":10}
#预期结果
checkDict1: {"total":"%s"}

#测试场景二：查询条件验证_站点资料变更列表
"url2": "/user/back/tripartiteChangeList"
"payload2": {"applyNo":"%s","applyTimes":["%s","%s"],"pageStart":1,"pageSize":10}
#预期结果
checkDict2: {"applyNo":"%s"}

#测试场景三：发起站点资料变更申请
"url3": "/user/tripartiteChange/getChangeDetail"
"payload3": {}
#预期结果
checkDict3: {"userName":"%s"}


#测试场景四：查询站点资料变更详情
"url4": "/user/tripartiteChange/queryTripartiteChangeDetail"
"payload4": {"tripartiteId":"%s"}
#预期结果
checkDict4: {"tripartiteId":"%s"}

#测试场景五：站点资料变更审核列表获取
"url5": "/user/back/tripartiteChangeList"
"payload5": {"applyNo":"","companyName":"","applyTimes":[],"applyStatus":"","pageStart":1,"pageSize":10,"siteType":""}
#预期结果
checkDict5: {"success":true,"code":"200","message":"OK"}

#测试场景六：查询条件验证_变更审核列表
"url6": "/user/back/tripartiteChangeList"
"payload6": {"applyNo":"%s","companyName":"%s","applyTimes":["%s","%s"],"applyStatus":"%s","pageStart":1,"pageSize":10,"siteType":"%s"}
#预期结果
checkDict6: {"applyNo":"%s"}

#测试场景七：获取站点列表_站点管理
"url7": "/cms/website/queryListPage"
"payload7": {"websiteName":"","orderApportionPrinciple":"","companyName":"","companyType":"","allocationSite":"","pageStart":1,"pageSize":10,"total":10,"pageNumber":1,"pageTotal":24}
#预期结果
checkDict7: {"success":true,"code":"200","message":"操作成功"}


#测试场景八：查询条件验证_站点管理
"url8": "/cms/website/queryListPage"
"payload8": {"websiteName":"%s","orderApportionPrinciple":"%s","companyName":"%s","companyType":"%s","allocationSite":"","pageStart":1,"pageSize":10,"total":null,"pageNumber":1,"pageTotal":null}
#预期结果
checkDict8: {"websiteName":"%s"}

#测试场景九：获取站点证照信息
"url9": "/user/public/getLicenseByCompanyId"
"payload9": {"companyId":2}
#预期结果
checkDict9: {"success":true,"code":"200","message":"OK"}

#测试场景十：资料上传接口验证_申请变更
"url10": "/product/public/fileUpload"
"payload10": {}
#预期结果
checkDict10: {"success":true,"code":"200","message":"OK"}


#测试场景十一：站点资料申请变更功能验证
"url11": "/user/tripartiteChange/toChange"
"payload11": {"changeSubject":"站点资料变更申请测试","companyName":"国药集团联合医疗器械有限公司","companyProperty":"101","licenceList":[{"validityStartTime":"2024-01-22","validityEndTime":"2032-04-30","validityTime":["2024-01-22","2032-04-30"],"licenceTypeExplain":"营业执照","licenceType":"008","licenceUrl":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907694509,"raw":{"uid":1705907694509},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzY5NDY2N30.1ePCWHUgUa1j4gK3gKrOpAiC0nAvbcz2pFTKZX_1QN4"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"newOneScope":"","oldOneScope":"","newTwoScope":"","oldTwoScope":"","newThreeScope":"","oldThreeScope":"","licenceCode":"213421414"}],"suppleList":[{"validityStartTime":"2024-01-22","validityEndTime":"2035-02-28","validityTime":["2024-01-22","2035-02-28"],"licenceTypeExplain":"续签协议","licenceType":"0012","licenceUrl":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907730774,"raw":{"uid":1705907730774},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzczMDkwNn0.abX7CpflkGMmQrdsOSOHycL_g2ObHsyHPDt1DxW2Vu0"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"licenceCode":"3245315251515"}],"companyCode":"00102","area":3,"businessUnit":"12325556677","registrations":[],"city":2,"telephone":"18008613536","userName":"admin2","userId":2,"businessPlace":"北京市顺义区金航中路3号天竺万科中心1号楼3单元2层201（北京天竺综合保税区））","legalName":"张洁2","principal":"张洁2","province":1,"merchantsDepositoryList":[{"depositoryId":964,"abbreviation":null,"addressDetail":"北京市顺义区顺义港物流园区机场北街10号A2-2","merchantsId":null,"userId":null,"depotProvince":1,"depotCity":2,"depotArea":3,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255},{"depositoryId":965,"abbreviation":null,"addressDetail":"仓库地址","merchantsId":null,"userId":null,"depotProvince":217,"depotCity":218,"depotArea":221,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255}],"registerLicenceList":[{"validityStartTime":"","validityEndTime":"","validityTime":["2024-01-22","2032-04-30"],"licenceTypeExplain":"营业执照","licenceType":"008","licenceUrl":"","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907694509,"raw":{"uid":1705907694509},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/91e5bc63-3883-4f69-9c46-a698c7682ced.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzY5NDY2N30.1ePCWHUgUa1j4gK3gKrOpAiC0nAvbcz2pFTKZX_1QN4"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"newOneScope":"","oldOneScope":"","newTwoScope":[],"oldTwoScope":[],"newThreeScope":[],"oldThreeScope":[],"licenceCode":"213421414"}],"detailAddress":"北京市朝阳区太阳宫中路19号院1号楼2层\n","merchantsCategoryList":[{"id":1193,"categoryId":1,"typeId":2,"merchantsId":null,"categoryTypeTxt":"测试测试","tripartiteId":255},{"id":1194,"categoryId":2,"typeId":3,"merchantsId":null,"categoryTypeTxt":"测试","tripartiteId":255}],"supplementLicences":[{"validityStartTime":"","validityEndTime":"","validityTime":["2024-01-22","2035-02-28"],"licenceTypeExplain":"续签协议","licenceType":"0012","licenceUrl":"","fileList":[{"status":"success","name":"WechatIMG252.jpg","size":456498,"percentage":100,"uid":1705907730774,"raw":{"uid":1705907730774},"url":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","response":{"success":true,"code":"200","message":"OK","data":"https://uat-cmdc.oss-cn-beijing.aliyuncs.com/productFile/2024/01/22/14e2940e-5415-4b30-8822-1e3dffbae79e.jpg","freshToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIsInVzZXJOYW1lIjoiYWRtaW4yIiwidGltZSI6MTcwNTkwNzczMDkwNn0.abX7CpflkGMmQrdsOSOHycL_g2ObHsyHPDt1DxW2Vu0"},"filetype":"","title":"WechatIMG252.jpg","validId":""}],"licenceCode":"3245315251515"}],"siteType":0,"remarks":"","tripartiteCategoryChangeList":[{"id":1193,"categoryId":1,"typeId":2,"merchantsId":null,"categoryTypeTxt":"测试测试","tripartiteId":255},{"id":1194,"categoryId":2,"typeId":3,"merchantsId":null,"categoryTypeTxt":"测试","tripartiteId":255}],"tripartiteDepositoryChangeList":[{"depositoryId":964,"abbreviation":null,"addressDetail":"北京市顺义区顺义港物流园区机场北街10号A2-2","merchantsId":null,"userId":null,"depotProvince":1,"depotCity":2,"depotArea":3,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255},{"depositoryId":965,"abbreviation":null,"addressDetail":"仓库地址","merchantsId":null,"userId":null,"depotProvince":217,"depotCity":218,"depotArea":221,"createTime":"2024-01-11T03:09:40.000+0000","updateTime":"2024-01-11T03:09:40.000+0000","tripartiteId":255}]}
#预期结果
checkDict11: {"success":true,"code":"200","message":"OK","data":"success"}


#测试场景十二：审核驳回_站点申请资料变更
"url12": "/user/tripartiteChange/auditTripartiteChange"
"payload12": {}
#预期结果
checkDict12: {"success":true,"code":"200","message":"OK"}

