# toSupportGateway ^11.2

子设备插件页直接跳转支持网关的界面

# 请求参数

Prop Type Required Default Description
params Object Y {} 请求参数

# params 字段

Prop Type Required Default Description
deviceType String Y N/A 设备品类码如:0xAC
enterpriseCode String Y N/A 企业吗:如:0000
applianceId String N N/A 设备ID(非必须)
sn8 String N N/A 设备sn8
smartProductId String N N/A 设备spid

# 接口调用示例


const params = {
    applianceId: this.deviceInfo.deviceId,
    deviceType: this.deviceInfo.deviceType,
    enterpriseCode: this.deviceInfo.enterpriseCode,
    sn8: this.deviceInfo.deviceSn8,
    smartProductId: this.deviceInfo.smartProductId
}

this.$bridge
      .toSupportGateway(
        params,
        res => {
          this.$toast(res)
        },
        err => {
          this.$toast(err)
        }
      )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

# 返回参数

  • 成功时返回
Prop Type Default Description
code Number N/A 返回码0-成功,其他错误码:配网指引请求失败
msg String N/A 返回Code对应的说明信息
Last Updated: 12/19/2025, 10:27:53 AM