|
|
@@ -52,8 +52,6 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
private static final String SDKKEY = "Abd9D8xZQUqG8vDtU2a1tEkdfThkK1tZppjXzydGwEd6";
|
|
|
|
|
|
private static final String LIBPATH = "/home/tom/nt/lib/so";
|
|
|
- //本地测试路径
|
|
|
- //private static final String LIBPATH = "D:\\arcsoft_lib";
|
|
|
private static final String JuHeURl = "http://apis.juhe.cn/verifyface/verify";
|
|
|
|
|
|
|
|
|
@@ -95,6 +93,9 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
fileInfoMapper.insert(fileInfo);
|
|
|
sysUserEntity.setCompareImgId(fileInfo.getId());
|
|
|
userMapper.updateById(sysUserEntity);
|
|
|
+ if (count != null){
|
|
|
+ redis.del(bankRedis);
|
|
|
+ }
|
|
|
return ResultCode.SUCCESS;
|
|
|
}
|
|
|
return ResultCode.FACEAUTH_FAIL;
|
|
|
@@ -187,6 +188,9 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
fileInfoMapper.insert(fileInfo);
|
|
|
sysUserEntity.setCompareImgId(fileInfo.getId());
|
|
|
userMapper.updateById(sysUserEntity);
|
|
|
+ if (count != null){
|
|
|
+ redis.del(bankRedis);
|
|
|
+ }
|
|
|
return ResultCode.SUCCESS;
|
|
|
}
|
|
|
if (count == null) {
|
|
|
@@ -239,6 +243,7 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
userAXQInfoEntity.setCompareImgId(fileInfo.getId());
|
|
|
userAXQInfoMapper.updateById(userAXQInfoEntity);
|
|
|
redis.del(partyRedis);
|
|
|
+ //人脸核身成功
|
|
|
return ResultCode.SUCCESS;
|
|
|
}
|
|
|
return ResultCode.FACEAUTH_FAIL;
|