⬆️ Upgrading dependencies. | closed #2401 up AJ-Captcha 行为验证码 V1.2.7

This commit is contained in:
lengleng committed 2021-02-20 18:23:02 +08:00
1 parent 6b3899394f
commit 9267ed669c
1 file changed
+1
@@ -151,6 +151,7 @@ public class ValidateCodeGatewayFilter extends AbstractGatewayFilterFactory {
CaptchaService captchaService = SpringContextHolder.getBean(CaptchaService.class);
CaptchaVO vo = new CaptchaVO();
vo.setCaptchaVerification(code);
vo.setCaptchaType(CommonConstants.IMAGE_CODE_TYPE);
if (!captchaService.verification(vo).isSuccess()) {
throw new ValidateCodeException("验证码不能为空");
}