# inviteToHome ^7.9
邀请家庭成员
# 请求参数
| Prop | Type | Default | Comment | 
|---|---|---|---|
| homeId | String | N/A | 家庭id 必填 | 
| loginAccount | String | N/A | 被邀请的用户账号 必填 | 
| stamp | String | N/A | 图形验证码 非必填 | 
# 接口调用示例
const params = {
    "homeId": "2232323",
    "loginAccount": "tt",
    "stamp": ""
}
this.$bridge
  .inviteToHome(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
# 接口返回示例
{
    "code": "0",
    "data": ""
}
 1
2
3
4
5
6
2
3
4
5
6