Commit 53006e88 authored by 技术部-任文超's avatar 技术部-任文超

返回验证码失败的code为2

parent 4946d5de
......@@ -63,12 +63,12 @@ public class CaptchaNewValidateAdvisor {
}
} else {
if(StringUtils.isBlank(request.getParameter(Constants.QG_CAPTCHA_ID))){
return JsonResult.buildErrorStateResult("操作过快,请稍后重试", "");
return JsonResult.buildErrorStateResult("操作过快,请稍后重试", "", 2L);
}
if (qgValid(request)) {
return pjp.proceed();
} else {
return JsonResult.buildErrorStateResult("验证码有误", "");
return JsonResult.buildErrorStateResult("验证码有误", "", 2L);
}
}
}
......
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