接口 cabinet.get

接口说明

获取自取柜设备详情

业务参数

参数名称 类型 是否必须 说明
CID string Y 自取柜 id

返回示例

{
    "error_code": 0,
    "error_msg": "SUCCESS",
    "data": {"id": "5fdc78e61059120010fc1af7",
                "Name": "1",  // 设备名称
                "DeviceCode": "1", 设备编号
                "Code": "108284445710", // 生产编码
                "CargoConfig": [ // 货到详情
                    {
                        "Row": 1,
                        "Col": 1,
                        "BarCode": "",
                        "isBrandLocked": true
                    },
                    {
                        "Row": 1,
                        "Col": 2,
                        "BarCode": "",
                        "isBrandLocked": true
                    },
                    {
                        "Row": 1,
                        "Col": 3,
                        "BarCode": "",
                        "isBrandLocked": true
                    },
                    {
                        "Row": 1,
                        "Col": 4,
                        "BarCode": "",
                        "isBrandLocked": true
                    },
                    {
                        "Row": 1,
                        "Col": 5,
                        "BarCode": "",
                        "isBrandLocked": true
                    },
                    {
                        "Row": 1,
                        "Col": 6,
                        "BarCode": "",
                        "isBrandLocked": true
                    },
                    {
                        "Row": 2,
                        "Col": 1,
                        "BarCode": "",
                         "isBrandLocked": false 
                    },
                    {
                        "Row": 2,
                        "Col": 2,
                        "BarCode": "",
                        "isBrandLocked": false 
                    },
                    {
                        "Row": 2,
                        "Col": 3,
                        "BarCode": "",
                        "isBrandLocked": false 
                    },
                    {
                        "Row": 2,
                        "Col": 4,
                        "BarCode": "",
                        "isBrandLocked": false 
                    },
                    {
                        "Row": 2,
                        "Col": 5,
                        "BarCode": "",
                        "isBrandLocked": false 
                    },
                    {
                        "Row": 2,
                        "Col": 6,
                        "BarCode": "",
                        "isBrandLocked": false 
                    },
                ],
                "SellStatus": 0, // 设备售货状态 0=停止售货 1=正常售货 2=待投放
                "OnlineStatus": 1, 设备在线状态 0=离线 1=在线
                "Address": "机器地址",
                "Province": "湖北省",
                "City": "黄冈市",
                "District": "团风县",
                "ServicePhone": "13715352279", // 客服电话
                "ExtElectronicStatus": 1,    // 0=断电 1=通电
                "ReplenisherAccountID": "xxxxxxxx", // 补货员id
                "CabinetCount": 2 // 柜门数
                "Location": [
                    114.063956, // longitude
                    22.56013 // latitude
                ]  // baidu map
                "ActiveAt": 1611743976 // 激活时间
            }
}
Copyright © YoPoint.com 2019 all right reserved,powered by Gitbook该文件修订时间: 2025-01-12 23:56:07

results matching ""

    No results matching ""