#beta环境
#多采商城
"username_be": "testtest"
"password_be": "Aa123456"
#后台运营平台
"username_do_be": "admin2"
"password_do_be": "@Aa123456"

#uat环境

#后台管理系统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"
}


#测试场景1：获取商品包装管理列表
"url1": "/product/packagingManage/list"
"payload1": {"materialCode":"","specifications":"","pageNum":null,"pageSize":10,"pageStart":1}
#预期结果
checkDict1: {"total":"%s"}

#测试场景2：列表查询条件验证_商品包装管理
"url2": "/product/packagingManage/list"
"payload2": {"materialCode":"%s","specifications":"%s","productCode":"%s","productName":"%s","pageNum":null,"pageSize":10,"pageStart":1}
#预期结果
checkDict2: {"productCode":"%s"}

#测试场景3：商品包装信息导出验证
"url3": "/product/packagingManage/exportList"
"payload3": {"productCode":"%s"}
#预期结果
checkDict3: {"productCode":"%s"}

#测试场景6：商品包装信息修改更新验证
"url6": "/product/packagingManage/update"
#预期结果
checkDict6: {"success":true,"code":"200","message":"OK","data":"%s"}

#测试场景13：获取商品列表_商品包装新增
"url13": "/product/public/getProducts"
"payload13": {"productCode":"","productName":"","materialCode":"","specifications":"","companyCode":"00102","pageSize":10,"pageStart":1}
#预期结果
checkDict13: {"success":true,"code":"200","message":"OK"}

#测试场景14：列表查询条件验证_商品列表_商品包装新增
"url14": "/product/public/getProducts"
"payload14": {"productCode":"%s","productName":"%s","materialCode":"%s","specifications":"%s","companyCode":"00102","pageSize":10,"pageStart":1}
#预期结果
checkDict14: {"productCode":"%s"}

#测试场景4：获取商品信息_新增商品包装
"url4": "/product/public/getProductsByCondition"
"payload4": {"companyCode":"00102","productCode":"%s"}
#预期结果
checkDict4: {"productCode":"%s"}


#测试场景5：商品包装信息新增验证
"url5": "/product/packagingManage/batchInsert"
"payload5": [{"rowEditStatus":2,"rowId":1711094088379,"productCode":"10145898","productId":8,"productName":"是的但是风格的风格发的个","specifications":"2","measuringUnitName":"个","measuringUnit":"EA","materialCode":"100898","productParams":{},"boxQuantity":1,"boxLength":"1","boxWidth":"1","boxHeight":"1","boxVolume":1,"grossWeight":"1","totalTowedQuantity":1}]
#预期结果
checkDict5: {"success":true,"code":"200","message":null,"data":null,"freshToken":null}

#测试场景7：商品包装信息删除验证
"url7": "/product/packagingManage/logicDelete"

#预期结果
checkDict7: {"deleteSign":1}
#获取指定商品包装信息
"url7_1": "/product/packagingManage/list"
"payload7_1": {"productCode":"10145898","pageNum":1,"pageSize":10,"pageStart":1}

#测试场景15：必填字段校验_商品包装删除
"url15": "/product/packagingManage/logicDelete"

#预期结果
checkDict15: {"success":false,"code":"ERROR","message":"请求数据为空","data":null,"freshToken":null}

#测试场景16：商品包装已存在_商品包装新增
"url16": "/product/packagingManage/batchInsert"

#预期结果
checkDict16: {"success":false,"code":"ERROR","message":"%s等商品已维护，不可重复新增","data":null,"freshToken":null}



















































