# interfaceForThirdParty
提供给Weex前端页面调用插件第三方SDK接口,DolphinWeex通道接口现在只做传递
# 请求参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
param | Object | Y | {} 属性: messageType: {Type: String, Default: N/A, Description: 第三方SDK用来判断接口名称 } messageContent: {Type: Object / String,Default: N/A, Description: 业务参数(第三方SDK用来处理逻辑,格式(JSON/String)不限,由weex页面和SDK协商) } | 请求参数 |
# 接口调用示例
this.$bridge
.interfaceForThirdParty(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9