# authQQMusicAccount

授权QQ音乐账户

# 接口调用示例

let params = {
    "dsn": ""
}
this.$bridge
    .authQQMusicAccount(params)
    .then(res => {    
      this.$alert(res)
    })
    .catch(err => {
      this.$toast(err)
    })
1
2
3
4
5
6
7
8
9
10
11

# 请求参数 params(object)

Prop Type Default Comment
dsn String N/A 设备唯一标识,插件调用云端接口接获取

# 返回参数 params(object)

  • 成功时返回object(res)
Prop Type Default Comment
code number 0 0
msg String N/A 'success'
  • 失败返回参数object(res)
Prop Type Default Comment
code number 1 -1:进入授权页,没有操作直接退出页面; 其它:授权失败
msg String N/A '错误信息'

# 云小微错误码表请参考

云小微错误码表

Last Updated: 4/9/2024, 10:09:08 AM