# 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)
  })
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

# 返回参数

  • 成功时返回
Prop Type Default Description
errorCode Number N/A
errorMessage String N/A
  • 失败时返回
Prop Type Default Description
errorMessage String N/A
errorCode Number N/A
Last Updated: 12/1/2021, 6:00:52 PM