Appearance
获取激活码信息
方法名
getLicenseData
用法
示例
js
module.getLicenseData(res => {
this.writeLog(JSON.stringify(res))
});参数说明
无
回调
示例
json
{
"data": {
"algorithmId": 3,
"deviceId": "11140C1F12FEEB2C52DFBEA35335271512",
"expireTime": 1730908799,
"functionList": "nir_feature live_feature id_feature nir_live visual_live depth_live face_attr face_gaze rgbd_feature driver_behavior ",
"packageName": "",
"md5": "",
"licenseKey": ""
},
"message": "",
"code": 0
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| data.algorithmId | Integer | 算法Id |
| data.deviceId | String | 指纹数据 |
| data.expireTime | Integer | 过期时间 |
| data.functionList | String | 可用函数列表 |
| data.packageName | String | 应用包名 |
| data.md5 | String | md5值 |
| data.licenseKey | String | 秘钥 |
| code | Integer | 返回类型,0.成功,其他:失败 |
