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;