getDeviceAliasName 获取设备别名

getDeviceAliasName ^8.23

获取设备别名

#请求参数

Prop Type Default Comment
deviceType String N/A 品类
sn8 String N/A sn8
modelNumber String N/A 子类型
smartProductId String N/A SPID

#接口调用示例

const params = {
  operation: "getDeviceAliasName",
  deviceType: "",
  sn8: "",
  modelNumber: "",
  smartProductId: ""
}
this.$bridge
  .getDeviceAliasName(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#返回参数

  • 成功时返回
Prop Type Default Description
name String true 设备别名
posted on 2024-12-18 09:22  AtlasLapetos  阅读(4)  评论(0)    收藏  举报