# loginQQ
QQ登录
需要客户端自己处理
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param | Object | Y | {}属性: skillId:{Type: String, Default: N/A, Description: 技能ID } platformId:{Type: String, Default: N/A, Description: 技能列表中获取,拿的到就传拿到的值,拿不到传"" } | 请求参数 |
# 接口调用示例
soundModule.loginQQ(param, (resp) => {
this.$alert("成功")
}, (error) => {
this.$toast("失败")
})
1
2
3
4
5
2
3
4
5
# 返回参数
- 成功时返回
| Prop | Type | Default | Description |
|---|---|---|---|
isSuccess | Boolean | N/A | true / false |
- 失败描述:
| Prop | Type | Default | Description |
|---|---|---|---|
errorCode | Number/String | N/A | int 或者 string,原生统一好所有errorCode 类型,1001: QQ登录失败;1002: 未安装QQ;1003: 猎户绑定QQ失败 |
errorMessage | String | N/A | 错误消息(如有) |