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

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

parent fbef390b
...@@ -114,7 +114,7 @@ public class CaptchaFiniteValidateAdvisor { ...@@ -114,7 +114,7 @@ public class CaptchaFiniteValidateAdvisor {
if (validCaptcha) { if (validCaptcha) {
return pjp.proceed(); return pjp.proceed();
} }
return JsonResult.buildSuccessResult("图形验证码不正确", "", 2L); return JsonResult.buildSuccessResult("验证码不正确", "", 2L);
} }
return JsonResult.buildSuccessResult("请输入图形验证码", "", 2L); return JsonResult.buildSuccessResult("请输入图形验证码", "", 2L);
} }
......
...@@ -59,13 +59,13 @@ public class CaptchaNewValidateAdvisor { ...@@ -59,13 +59,13 @@ public class CaptchaNewValidateAdvisor {
if(gtValid(request)){ if(gtValid(request)){
return pjp.proceed(); return pjp.proceed();
}else{ }else{
return JsonResult.buildErrorStateResult("验证码有误", ""); return JsonResult.buildErrorStateResult("验证码不正确", "");
} }
} else { } else {
if (qgValid(request)) { if (qgValid(request)) {
return pjp.proceed(); return pjp.proceed();
} else { } else {
return JsonResult.buildErrorStateResult("验证码有误", "", 2L); return JsonResult.buildErrorStateResult("验证码不正确", "", 2L);
} }
} }
} }
......
...@@ -82,7 +82,7 @@ public class CaptchaValidateAdvisor { ...@@ -82,7 +82,7 @@ public class CaptchaValidateAdvisor {
LOGGER.info("使用超级图形验证码校验, registerFrom={}, clientIp={}", registerFrom, IPUtil.getRemoteIP(request)); LOGGER.info("使用超级图形验证码校验, registerFrom={}, clientIp={}", registerFrom, IPUtil.getRemoteIP(request));
return pjp.proceed(); return pjp.proceed();
} }
JsonResult result = JsonResult.buildSuccessResult("图形验证码不正确", ""); JsonResult result = JsonResult.buildSuccessResult("验证码不正确", "");
result.setBusinessCode("0002"); result.setBusinessCode("0002");
if (StringUtils.isNotBlank(captchaValue)) { 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