文档
测试

添加识别数据

POST
http://localhost:8888/qgy/callback/save

接口描述

添加识别数据 回调格式:ContentType:application/x-www-form-urlencoded

请求参数

参数名
类型
描述
必填
guid
String
识别guid 唯一不重复标志(NOT NULL)
必填
deviceKey
String
设备序列号(NOT NULL)
必填
personGuid
String
人员guid,陌生人为STRANGERBABY,人证比对为IDCARDBABY
必填
photoUrl
String
现场照url(NULL)
必填
showTime
String
识别记录时间,0时区时间,如(2018-11-28T03:06:23+0000) (NOT NULL)
必填
type
Integer
人员比对结果,1:比对成功 2:比对失败 (NOT NULL)
必填
recMode
Integer
识别模式,1:刷脸,2:刷卡,3:脸&卡双重认证, 4:人证比对 (NOT NULL)
必填
carNo
String
识别卡号(NULL)
必填
aliveType
Integer
活体结果 1:活体判断成功 2:活体判断失败 3:未进行活体判断
必填
recType
Integer
比对模式,1:本地识别 2:云端识别
必填
passTimeType
Integer
有效时间段判断 1:时间段内 2:时间段外 3:未进行时间段判断 (NOT NULL)
必填
permissionTimeType
Integer
有效日期判断 1:有效期内 2:有效期外 3:未进行有效期判断 (NOT NULL)
必填
deviceType
Integer
设备类型 (NOT NULL)
必填
personName
String
人员姓名(NOT NULL)
必填

返回示例

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": [ { "id": 54, "guid": "1DE2C0E055434505BE36A1B494FEE1D9", "deviceKey": "84E0F420883802FAA37", "personGuid": "STRANGERBABY", "photoUrl": "http://uniubi-device-test.oss-cn-hangzhou.aliyuncs.com/device/spot/photo/84E0F420013300B4/2017-11-16/STRANGERBABY_20171116153434.jpg", "showTime": "1510817674000", "type": 1, "recMode": 1, "cardNo": "888", "aliveType": 1, "recType": 1, "passTimeType": 1, "permissionTimeType": 1, "deviceType": 6, "personName": "测试" } ] } ```