# pushAskAPP ^3.9.0
向App发送业务逻辑处理事件
# 请求参数
| Prop | Type | Value | Comment |
|---|---|---|---|
pushAskAPP | String | - | 事件类型,具体业务,以定义为准,eg: 'delete device' |
。。。 | any | - | 具体业务字段具体定义 |
# 接口调用示例
let params = {
type: 'delete device',
deviceId: this.deviceInfo.deviceId
}
this.$bridge
.pushAskAPP(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
2
3
4
5
6
7
8
9
10
11
12
13
14
# 返回参数
- 成功时返回
| Prop | Type | Comment |
|---|---|---|
code | Number | - |
msg | String | - |
# 返回示例
{
"code": 0,
"msg": "success"
}
1
2
3
4
5
6
2
3
4
5
6