Commit 0def99e3 authored by 技术部-任文超's avatar 技术部-任文超

统一图形验证码和极验验证码文案:验证码不正确

parent fbef390b
......@@ -114,7 +114,7 @@ public class CaptchaFiniteValidateAdvisor {
if (validCaptcha) {
return pjp.proceed();
}
return JsonResult.buildSuccessResult("图形验证码不正确", "", 2L);
return JsonResult.buildSuccessResult("验证码不正确", "", 2L);
}
return JsonResult.buildSuccessResult("请输入图形验证码", "", 2L);
}
......
......@@ -59,13 +59,13 @@ public class CaptchaNewValidateAdvisor {
if(gtValid(request)){
return pjp.proceed();
}else{
return JsonResult.buildErrorStateResult("验证码有误", "");
return JsonResult.buildErrorStateResult("验证码不正确", "");
}
} else {
if (qgValid(request)) {
return pjp.proceed();
} else {
return JsonResult.buildErrorStateResult("验证码有误", "", 2L);
return JsonResult.buildErrorStateResult("验证码不正确", "", 2L);
}
}
}
......
......@@ -82,7 +82,7 @@ public class CaptchaValidateAdvisor {
LOGGER.info("使用超级图形验证码校验, registerFrom={}, clientIp={}", registerFrom, IPUtil.getRemoteIP(request));
return pjp.proceed();
}
JsonResult result = JsonResult.buildSuccessResult("图形验证码不正确", "");
JsonResult result = JsonResult.buildSuccessResult("验证码不正确", "");
result.setBusinessCode("0002");
if (StringUtils.isNotBlank(captchaValue)) {
// 忽略用户输入的大小写
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment