inviteFamily ^6.8
邀请家庭
#请求参数
| Prop |
Type |
Default |
Comment |
userName |
String |
N/A |
用户名 |
withShareTicket |
String |
N/A |
|
path |
String |
N/A |
路径 |
hdImageData |
String |
N/A |
|
title |
String |
N/A |
标题 |
#接口调用示例
const params = {
title: 'invite',
webpageUrl: 'www.baidu.com',
userName: 'iwander',
path: '',
hdImageData: '',
withShareTicket: ''
}
this.$bridge
.inviteFamily(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
| Prop |
Type |
Default |
Description |
errorCode |
Number |
N/A |
|
errorMessage |
String |
N/A |
|
| Prop |
Type |
Default |
Description |
errorMessage |
String |
N/A |
|
errorCode |
Number |
N/A |
|