1.8、获取场景

  • 地址:/app/v1/selectSceneAll

  • 请求方式:POST

​ 参数:

{
     "sign":""
}

​ 返回值:

{
    "code":200,
    "message":"success",
    "data":[
        {
            "id":"05cf15d1f71b4a289be8914cd7efcff2",
            "name":"开调光关群组",
            "orderWeight":1,
            "onIcon":"images/scene/3d66d5d691e05b27a34f3f9bd6221350",
            "onImage":"images/scene/59a3bc8cf6ed5ef963e5536aa73e325e",
            "onIconSource":1,
            "onImageSource":1,
            "status":2,
            "change":false
        },
        {
            "id":"cf4e77518b5442d7a340591a3788840d",
            "name":"开调光关群组(关)",
            "orderWeight":2,
            "onIcon":"images/scene/6de9885ce87c1f644fd8e4a1ee956b9a",
            "onImage":"images/scene/8c353880865136ea5e8ef5720ff523aa",
            "onIconSource":1,
            "onImageSource":1,
            "status":1,
            "change":false
        }
    ]
}
参数名 数据类型 数据长度 是否可为空 数据说明 备注
id string 场景编号
name string 场景名称
onIcon string 场景小图标
onImage string 场景大图
onIconSource int 场景小图来源 1系统,10自定义
onImageSource int 场景大图来源 1系统,10自定义
status int 状态 0未配置,1激活,2未激活
change bool 是否异常 当场景下有设备被删除时提示异常,false未异常
orderWeight int 排序号
作者:泛云智能  创建时间:2021-10-15 16:13
最后编辑:泛云智能  更新时间:2021-10-21 14:45