...
|
...
|
@@ -469,7 +469,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public AuthorizeResultRespVO zhiMaCertWithPhotoInit(RealNameAuthorizeReqVO reqVO,boolean ocrPhotoCheck){
|
|
|
public AuthorizeResultRespVO zhiMaCertWithPhotoInit(RealNameAuthorizeReqVO reqVO){
|
|
|
logger.info("real name zhiMaCertWithPhotoInit reqVO {}", reqVO);
|
|
|
boolean justCheckPhoto = false;
|
|
|
int uid = reqVO.getUid();
|
...
|
...
|
@@ -496,15 +496,13 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { |
|
|
|
|
|
logger.info("real name zhiMaCertWithPhotoInit reqVO {} ,justCheckPhoto {}", reqVO,justCheckPhoto);
|
|
|
|
|
|
if(ocrPhotoCheck){
|
|
|
//验证图片
|
|
|
PhotoCheckResultVO photoCheckResultVO = this.zhiMaCertPhotoCheck(reqVO);
|
|
|
if(photoCheckResultVO.isPass()){
|
|
|
//根据校验结果,重设photo_valid_status
|
|
|
reqVO.setPhotoValidStatus(photoCheckResultVO.getPhotoValidStatus());
|
|
|
}else{
|
|
|
throw new UfoServiceException(400, "您上传的证件照片信息不正确,请重新上传!");
|
|
|
}
|
|
|
//验证图片
|
|
|
PhotoCheckResultVO photoCheckResultVO = this.zhiMaCertPhotoCheck(reqVO);
|
|
|
if(photoCheckResultVO.isPass()){
|
|
|
//根据校验结果,重设photo_valid_status
|
|
|
reqVO.setPhotoValidStatus(photoCheckResultVO.getPhotoValidStatus());
|
|
|
}else{
|
|
|
throw new UfoServiceException(400, "您上传的证件照片信息不正确,请重新上传!");
|
|
|
}
|
|
|
|
|
|
String imgUrl = reqVO.getFrontImageUrl()+","+reqVO.getBackImageUrl();
|
...
|
...
|
|