接口 cabinet.list
接口说明
获取自取柜设备列表
业务参数
参数名称 | 类型 | 是否必须 | 说明 |
---|---|---|---|
Page | int | Y | 页码 |
PageSize | int | Y | 每页记录数 |
返回示例
{
"error_code": 0,
"error_msg": "SUCCESS",
"data": [
{"id": "5fdc78e61059120010fc1af7",
"Name": "1", // 设备名称
"DeviceCode": "1", 设备编号
"Code": "108284445710", // 生产编码
"CargoConfig": [ // 货到详情
{
"Row": 1,
"Col": 1,
"BarCode": "",
},
{
"Row": 1,
"Col": 2,
"BarCode": "",
},
{
"Row": 1,
"Col": 3,
"BarCode": "",
},
{
"Row": 1,
"Col": 4,
"BarCode": "",
},
{
"Row": 1,
"Col": 5,
"BarCode": "",
},
{
"Row": 1,
"Col": 6,
"BarCode": "",
},
{
"Row": 2,
"Col": 1,
"BarCode": "",
},
{
"Row": 2,
"Col": 2,
"BarCode": "",
},
{
"Row": 2,
"Col": 3,
"BarCode": "",
},
{
"Row": 2,
"Col": 4,
"BarCode": "",
},
{
"Row": 2,
"Col": 5,
"BarCode": "",
},
{
"Row": 2,
"Col": 6,
"BarCode": "",
},
{
"Row": 3,
"Col": 1,
"BarCode": "",
},
{
"Row": 3,
"Col": 2,
"BarCode": "",
},
{
"Row": 3,
"Col": 3,
"BarCode": "",
},
{
"Row": 3,
"Col": 4,
"BarCode": "",
},
{
"Row": 3,
"Col": 5,
"BarCode": "",
},
{
"Row": 3,
"Col": 6,
"BarCode": "",
}
],
"SellStatus": 0, // 设备售货状态 0=停止售货 1=正常售货 2=待投放
"OnlineStatus": 1, // 设备在线状态 0=离线 1=在线
"Province": "湖北省",
"City": "黄冈市",
"District": "团风县",
"ServicePhone": "13715352279" // 客服电话
"ReplenisherAccountID": "xxxxxxxx", // 补货员id
"CabinetCount": 2 // 柜门数
"Location": [
114.063956, // longitude
22.56013 // latitude
] // baidu map
}
]
}