说明 / 示例
有数据返回的时候:{
"data": [
{
"material_id": 39,
"material_name": "rifd测试物料1",
"total_count": 126,
"warehouse_info": [
{
"count": 6,
"warehouse_name": "库位2"
},
{
"count": 20,
"warehouse_name": "库位3"
},
{
"count": 100,
"warehouse_name": "库位1"
}
]
},
{
"material_id": 40,
"material_name": "rfid测试物料2",
"total_count": 11,
"warehouse_info": [
{
"count": 11,
"warehouse_name": "库位3"
}
]
}
],
"msg": "查询物料信息成功",
"status": 100000
}
返回数据为空的时候
{
"data": [],
"msg": "查询物料信息成功",
"status": 100000
}