简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-06-09

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
store_id string 门店id
device_type_of_sale string 维修不用传,获取退租传2

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": [
        {
            "device_id": 7,
            "table_number": "007",
            "status": 1,
            "device_type_of_sale": 2,
            "floor": 1,
            "tmp_data": {
                "name": "无烟灶-烧烤净化版",
                "cover": "http://iot.com/uploads/cover/2021-05-13/609c915d09e2d.png"
            },
            "data_data": {
                "data_id": 241,
                "serial_number": "P202107040021"
            },
            "scene_name": ""
        },
    ],
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "提交失败"
}

返回参数说明:

参数名 类型 说明
device_id string 设备id
status string 设备状态 1=正常 2=异常
device_type_of_sale string
table_number string 桌号
floor string 楼层
scene_name string 场景
tmp_data.name string 名称
tmp_data.cover string 封面

备注:

文档更新时间: 2021-08-30 10:09   作者:admin