# authQQMusicDevice

指定设备需要授权绑定DMSDK

# 接口调用示例

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

# 请求参数 params(object)

Prop Type Default Comment
sig String N/A 登录的签名,插件调用云端登录云小微接口获取
dsn String N/A 设备唯一标识,插件调用云端接口接获取
authReqInfo String(json) 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/19/2022, 3:30:46 PM