Appearance
获取设备指纹数据
方法名
getDeviceId
用法
示例
js
module.getDeviceId(res => {
this.writeLog(JSON.stringify(res))
});参数说明
无
回调
示例
json
{
"data": {
"deviceId": "11140C1F12FEEB2C52DFBEA35335271512"
},
"message": "",
"code": 0
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| data.deviceId | String | 指纹数据 |
| code | Integer | 返回类型,0.成功,其他:失败 |
