From 9267ed669c416b15a69732e6b70b1e9bd81b072b Mon Sep 17 00:00:00 2001 From: lengleng Date: Sat, 20 Feb 2021 18:23:02 +0800 Subject: [PATCH] =?UTF-8?q?:arrow=5Fup:=20Upgrading=20dependencies.=20|=20?= =?UTF-8?q?closed=20#2401=20up=20AJ-Captcha=20=E8=A1=8C=E4=B8=BA=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=20V1.2.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig4cloud/pigx/gateway/filter/ValidateCodeGatewayFilter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pigx-gateway/src/main/java/com/pig4cloud/pigx/gateway/filter/ValidateCodeGatewayFilter.java b/pigx-gateway/src/main/java/com/pig4cloud/pigx/gateway/filter/ValidateCodeGatewayFilter.java index 697508f51..e79593dad 100644 --- a/pigx-gateway/src/main/java/com/pig4cloud/pigx/gateway/filter/ValidateCodeGatewayFilter.java +++ b/pigx-gateway/src/main/java/com/pig4cloud/pigx/gateway/filter/ValidateCodeGatewayFilter.java @@ -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("验证码不能为空"); }