绑定三方登录账号
接口描述: 绑定三方登录账号
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| token | 字符串 | 必须 | 用户token | ||
| type | 整型 | 必须 | 微信:1,抖音:2,apple:3 | ||
| dy_openid | 字符串 | 可选 | 抖音openid,绑定抖音登录时必传 | ||
| wx_openid | 字符串 | 可选 | 微信openid,绑定微信登录时必传 | ||
| identity_token | 字符串 | 可选 | apple登录 app端获取的identity_token,绑定apple登录时必传 | ||
| authorization_code | 字符串 | 可选 | apple登录 app端获取的authorization_code,绑定apple登录时必传 | ||
| user_identifier | 字符串 | 可选 | apple登录 app端获取的user_identifier,绑定apple登录时必传 | ||
| device_id | 字符串 | 必须 | 设备id |
| 参数名字 | 类型 | 说明 |
|---|---|---|
| isBindDouYin | 整型 | 2:抖音绑定成功 |
| isBindWx | 整型 | 2:微信绑定成功 |
| isBindApple | 整型 | 2:apple绑定成功 |
| 错误状态码 | 错误描述信息 |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| 201 | 未查询到账号信息 |
| 202 | 绑定失败 |
| 参数 | 是否必须 | 值 |
|---|---|---|
| service | 必须 | |
| token | 必须 | |
| type | 必须 | |
| dy_openid | 可选 | |
| wx_openid | 可选 | |
| identity_token | 可选 | |
| authorization_code | 可选 | |
| user_identifier | 可选 | |
| device_id | 必须 |
# 暂无示例,可添加示例文件:./src/view/docs/demos/App.User.BindThirdlogin.json
接口,从简单开始!
© 2015-2026 Powered By PhalApi开源接口框架 2.23.0
专业版