ai鉴证回调
回调说明
[!NOTE]
查看用户授权回调说明之前请仔细看一下“异步回调”说明介绍,ai鉴证结果会发送结果到相应的url地址
请求参数说明
参数名 | 值或说明 | 是否必填(*是) | 请求方式 | 字段类型 |
---|---|---|---|---|
method | h5.ai.auth.notify | * | post | string |
version | 1.0.0 | * | post | string |
timestamp | 时间戳,毫秒 | * | post | long |
data | 参考data说明 | ? | post | JSONObject |
sign | 签名sign(sha1对前面的参数签名) | * | post | string |
appkey | appkey | * | post | string |
data说明
data内部结构字段 | 说明 | 是否必填(*是) | 请求方式 | 字段类型 |
---|---|---|---|---|
code | 0 成功,其他失败 | * | post | string |
msg | 失败描述 | * | post | string |
orderNo | 订单号 | * | post | string |
liveRate | 活体相似度 某些code下会为0,表示未做识别 | ? | post | string |
similarity | 人像相似度 某些code下会为0,表示未做识别 | ? | post | string |