ruoyi-gateway/src/main/java/com/ruoyi/gateway/service/impl/ValidateCodeServiceImpl.java
@@ -107,7 +107,7 @@ String captcha = redisService.getCacheObject(verifyKey); if (captcha == null) { throw new CaptchaException("验证码已失效"); throw new CaptchaException("验证码错误"); } redisService.deleteObject(verifyKey); if (!code.equalsIgnoreCase(captcha))