Showing
1 changed file
with
2 additions
and
2 deletions
@@ -410,7 +410,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | @@ -410,7 +410,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | ||
410 | //每天:记录一个累加的次数 ,超过一定的数量不允许继续调 | 410 | //每天:记录一个累加的次数 ,超过一定的数量不允许继续调 |
411 | String dayStr = getStringDate("yyyyMMdd"); | 411 | String dayStr = getStringDate("yyyyMMdd"); |
412 | if(isPhotoCheckExceedLimit(dayStr,reqVO.getUid())){ | 412 | if(isPhotoCheckExceedLimit(dayStr,reqVO.getUid())){ |
413 | - throw new GatewayException(400, "超过当日最大调用次数!"); | 413 | + throw new GatewayException(400, "今日的认证次数已经用完!"); |
414 | } | 414 | } |
415 | 415 | ||
416 | //次数加1 | 416 | //次数加1 |
@@ -435,7 +435,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | @@ -435,7 +435,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | ||
435 | //调用接口,ocr验证 | 435 | //调用接口,ocr验证 |
436 | boolean pass = checkCertPhoto(Lists.newArrayList(frontUploadModel ,backUploadModel) ,reqVO); | 436 | boolean pass = checkCertPhoto(Lists.newArrayList(frontUploadModel ,backUploadModel) ,reqVO); |
437 | if(!pass){ | 437 | if(!pass){ |
438 | - throw new GatewayException(400, "身份证图片校验不通过!"); | 438 | + throw new GatewayException(400, "您上传的证件照片信息不正确,请重新上传!"); |
439 | } | 439 | } |
440 | 440 | ||
441 | return imgUrls; | 441 | return imgUrls; |
-
Please register or login to post a comment