# 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)
})
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
name | String | true | 设备别名 |