From 749fe9d515c321b643c66feb8bac852e282bc1a5 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 17 Jun 2023 12:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E5=88=B0=201.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-dependencies/pom.xml | 2 +- .../framework/captcha/config/YudaoCaptchaConfiguration.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index dad575867..d89daaa2a 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -43,7 +43,7 @@ 6.8.0 - 1.0.4 + 1.0.2 1.15.4 1.18.26 1.5.5.Final diff --git a/yudao-framework/yudao-spring-boot-starter-captcha/src/main/java/cn/iocoder/yudao/framework/captcha/config/YudaoCaptchaConfiguration.java b/yudao-framework/yudao-spring-boot-starter-captcha/src/main/java/cn/iocoder/yudao/framework/captcha/config/YudaoCaptchaConfiguration.java index 32d2b4b87..a73c82bf0 100644 --- a/yudao-framework/yudao-spring-boot-starter-captcha/src/main/java/cn/iocoder/yudao/framework/captcha/config/YudaoCaptchaConfiguration.java +++ b/yudao-framework/yudao-spring-boot-starter-captcha/src/main/java/cn/iocoder/yudao/framework/captcha/config/YudaoCaptchaConfiguration.java @@ -26,9 +26,9 @@ public class YudaoCaptchaConfiguration { @Bean public CaptchaCacheService captchaCacheService(AjCaptchaProperties config) { - //缓存类型redis/local/.... + // 缓存类型 redis/local/.... CaptchaCacheService ret = CaptchaServiceFactory.getCache(config.getCacheType().name()); - if(ret instanceof RedisCaptchaServiceImpl){ + if (ret instanceof RedisCaptchaServiceImpl) { ((RedisCaptchaServiceImpl)ret).setStringRedisTemplate(stringRedisTemplate); } return ret;