getDeviceIconList 获取设备icon

getDeviceIconList ^8.8

获取设备icon

#请求参数

Prop Type Default Comment
deviceInfoList Array<Object> N/A 查询设备的数据,详细看下表
  • deviceInfoList子对象属性值:
Prop Type Default Comment
appType string N/A 设备类型
sn8 string N/A 设备的sn8

#接口调用示例

const params = {
  "deviceInfoList": [{"appType":"", "sn8":""}]
}
this.$bridge
  .getDeviceIconList(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#返回参数

  • 成功时返回
Prop Type Default Comment
code String N/A 返回码 0成功
deviceIconList Array<string> N/A 设备图标列表
  • 失败时返回
Prop Type Default Comment
code String N/A code -1001:参数错误;xxx:其他错误代码

#接口返回示例

{
  code:0,
  eviceIconList:["", "", ""], 
  msg:""
}
posted on 2024-12-19 09:23  AtlasLapetos  阅读(6)  评论(0)    收藏  举报