authQQMusicAccount 授权QQ音乐账户

authQQMusicAccount

授权QQ音乐账户

#接口调用示例

let params = {
    "dsn": ""
}
this.$bridge
    .authQQMusicAccount(params)
    .then(res => {    
      this.$alert(res)
    })
    .catch(err => {
      this.$toast(err)
    })

#请求参数 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 '错误信息'

#云小微错误码表请参考

云小微错误码表

posted on 2024-12-18 09:22  AtlasLapetos  阅读(14)  评论(0)    收藏  举报