Authored by qinchao

fix 提示信息

... ... @@ -410,7 +410,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
//每天:记录一个累加的次数 ,超过一定的数量不允许继续调
String dayStr = getStringDate("yyyyMMdd");
if(isPhotoCheckExceedLimit(dayStr,reqVO.getUid())){
throw new GatewayException(400, "超过当日最大调用次数!");
throw new GatewayException(400, "今日的认证次数已经用完!");
}
//次数加1
... ... @@ -435,7 +435,7 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
//调用接口,ocr验证
boolean pass = checkCertPhoto(Lists.newArrayList(frontUploadModel ,backUploadModel) ,reqVO);
if(!pass){
throw new GatewayException(400, "身份证图片校验不通过!");
throw new GatewayException(400, "您上传的证件照片信息不正确,请重新上传!");
}
return imgUrls;
... ...