|
|
@@ -96,22 +96,12 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
}
|
|
|
return ResultCode.FACEAUTH_FAIL;
|
|
|
}
|
|
|
-
|
|
|
- if (!faceCompareUtil.imageSingle(base)){
|
|
|
- if (ObjectUtil.isNotEmpty(base)){
|
|
|
- base.delete();
|
|
|
- }
|
|
|
- return ResultCode.SINGLE_PERSON;
|
|
|
- }
|
|
|
-
|
|
|
if (!faceCompareUtil.imageCenter(base)){
|
|
|
if (ObjectUtil.isNotEmpty(base)){
|
|
|
base.delete();
|
|
|
}
|
|
|
return ResultCode.IMAGE_NOT_STANDARD;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
thirdPartyInterfaceEntity.setBusinessNo(compareImageDomain.getBusinessNo());
|
|
|
thirdPartyInterfaceEntity.setConsultNo(contractOrderEntity.getConsultNo());
|
|
|
FileInfoEntity fileInfo = faceCompareUtil.uploadFaceFile(base64);
|
|
|
@@ -286,7 +276,6 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
FileInfoEntity fileInfo = faceCompareUtil.uploadFaceFile(base64);
|
|
|
faceCompareEntity = JuheServiceUtil.URLPost(idCard, nickName, base64,faceCompareEntity);
|
|
|
faceCompareEntity.setFileId(fileInfo.getId() + "");
|
|
|
-
|
|
|
thirdPartyInterfaceRepository.insert(faceCompareEntity);
|
|
|
if (faceCompareEntity.getResult() == 1) {
|
|
|
//上传图片到minio FileInfo;
|