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

#后台运营管理系统登录信息(子站)
"username1": "Admin00111"
"password1": "Aa123456"

#后台运营管理系统登录信息(总站)
"username2": "Admin"
"password2": "Aa123456"

json_headers: {
  "Content-Type": "application/json",
  "Cmdc_access_token": "%s"
}



#测试场景：获取用户对应的购物车列表信息
json_headers1: {
  "Cmdc_access_token": "%s",
  "Sourcetype": "mall"
}
#多采商城雅培报量管理按用户ID获取商业站点 get
"url1": "/user/public/getBusinessSiteByUserId"
"payload1": userId=69
#预期结果
checkDict1: {"success":true,"code":"200","message":"OK"}


#多采商城雅培报量管理列表 get
"url2": "/user/mall/trendManage/list"
"payload2": companyCode=00103&type=2
#预期结果
checkDict2: {"success":true,"code":"200","message":"OK"}

#多采商城雅培报量管理获取买家名称 get
"url3": "/order/public/getBuyerName"
"payload3": companyCode=00103&customerCode=1127254&productLineCode=
#预期结果
checkDict3: {"success":true,"code":"200","message":"OK"}

#多采商城雅培报量管理截止时间提示 get
"url4": "/order/public/cutOffPrompt"
"payload4": companyCode=00103&productLineCode=&customerCode=1127254
#预期结果
checkDict4: {"success":true,"code":"200","message":"OK","data":{"currentMonth":null,"monthCutOffStr":null},"freshToken":null}


#多采商城雅培报量管理获取雅培报量审计统计信息 post
"url5": "/order/public/getAbbotReportAuditStatistics"
"payload5": {"companyCode":"00103","productLineCode":""}
#预期结果
checkDict5: {"success":true,"code":"200","message":"OK","data":{"auditBeforeCount":0,"auditRefuseCount":0,"allocationCount":0},"freshToken":null}

#多采商城雅培报量管理获取雅培报量列表
"url6": "/user/mall/trendManage/list"
"payload6": companyCode=00103&type=2
#预期结果
checkDict6: {"success":true,"code":"200","message":"OK","data":[],"freshToken":null}

#雅培报量管理获取雅培报量待审核列表 post
"url7": "/order/public/getAbbotReportList"
"payload7": {"handleStatus":"","reportAuditStatus":"","productLineCode":"","companyCode":"00103","tabType":2,"companyName":"国药集团北京医疗器械有限公司","companyId":3,"customerCode":"1127254","customerName":"国药集团云南医疗器械有限公司","active":"tab2","pageNum":1,"pageSize":10,"pageStart":1}
#预期结果
checkDict7: {"success":true,"code":"200","message":"OK","data":{"total":0,"list":[],"pageNum":1,"pageSize":0,"size":0,"startRow":0,"endRow":0,"pages":0,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[],"navigateFirstPage":0,"navigateLastPage":0},"freshToken":null}

#雅培报量管理获取雅培报量待审核审计统计信息 post
"url8": "/order/public/getAbbotReportAuditStatistics"
"payload8": {"companyCode":"00103","productLineCode":""}
#预期结果
checkDict8: {"success":true,"code":"200","message":"OK","data":{"auditBeforeCount":0,"auditRefuseCount":0,"allocationCount":0},"freshToken":null}



#雅培报量管理获取雅培报量已驳回列表 post
"url9": "/order/public/getAbbotReportList"
"payload9": {"handleStatus":"","reportAuditStatus":"","productLineCode":"","companyCode":"00103","tabType":3,"companyName":"国药集团北京医疗器械有限公司","companyId":3,"customerCode":"1127254","customerName":"国药集团云南医疗器械有限公司","active":"tab3","pageNum":1,"pageSize":10,"pageStart":1}
#预期结果
checkDict9: {"success":true,"code":"200","message":"OK"}

#多采商城雅培报量管理获取雅培报量已驳回审计统计信息 post
"url10": "/order/public/getAbbotReportAuditStatistics"
"payload10": {"companyCode":"00103","productLineCode":""}
#预期结果
checkDict10: {"success":true,"code":"200","message":"OK"}

#多采商城雅培报量管理查看全年报量截止日 post
"url11": "/order/public/getYearCutOffList"
"payload11": {"companyCode":"00102","productLineCode":"YP001"}
#预期结果
checkDict11: {"success":true,"code":"200","message":"OK"}

#信息中心查看详情更新状态 post
"url12": "/cms/mall/notice/updateStatus"
"payload12": {"noticeId":"5340032"}
#预期结果
checkDict12: {"success":false,"code":"200","message":"没有可更新数据","data":null,"freshToken":null}












checkDict21: {"success":false,"code":"200","message":"商品添加完毕，本次添加商品【1】条，成功【0】条，失败【1】条：\n第1行，该商品不存在!","data":[],"freshToken":null}

#测试场景二：必填字段缺失
"payload22": {"currentCompanyId":"","buyerCartList":[{"quantity":"1"}],"excelCopySort":0,"companyId":3}
#预期结果
checkDict22: {"success":false,"code":"200","message":"商品添加完毕，本次添加商品【1】条，成功【0】条，失败【1】条：\n第1行，产品编码或物料编码为空!","data":[],"freshToken":null}

#测试场景三：子站点不存在
"payload24": {"currentCompanyId":"","buyerCartList":[{"productCode":"10231310","materialCode":"","quantity":"1"}],"excelCopySort":0,"companyId":"%d"}
#预期结果
checkDict24: {"success":false,"code":"999","message":"找不到该公司的首营信息","data":null,"freshToken":null}

#测试场景四：添加商品成功
"payload23": {"currentCompanyId":"","buyerCartList":[{"productCode":"%s","materialCode":"","quantity":"1"}],"excelCopySort":0,"companyId":"%s"}
#预期结果
checkDict23: {"success":False,"code":"200","message":"商品添加完毕，本次添加商品【1】条，成功【1】条，失败【0】条。"}
