Commit 749fe9d515c321b643c66feb8bac852e282bc1a5
1 parent
7e6a3d2e
回退验证码到 1.0.2
Showing
2 changed files
with
3 additions
and
3 deletions
yudao-dependencies/pom.xml
| ... | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | <!-- Bpm 工作流相关 --> |
| 44 | 44 | <flowable.version>6.8.0</flowable.version> |
| 45 | 45 | <!-- 工具类相关 --> |
| 46 | - <captcha-plus.version>1.0.4</captcha-plus.version> | |
| 46 | + <captcha-plus.version>1.0.2</captcha-plus.version> | |
| 47 | 47 | <jsoup.version>1.15.4</jsoup.version> |
| 48 | 48 | <lombok.version>1.18.26</lombok.version> |
| 49 | 49 | <mapstruct.version>1.5.5.Final</mapstruct.version> | ... | ... |
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 { |
| 26 | 26 | |
| 27 | 27 | @Bean |
| 28 | 28 | public CaptchaCacheService captchaCacheService(AjCaptchaProperties config) { |
| 29 | - //缓存类型redis/local/.... | |
| 29 | + // 缓存类型 redis/local/.... | |
| 30 | 30 | CaptchaCacheService ret = CaptchaServiceFactory.getCache(config.getCacheType().name()); |
| 31 | - if(ret instanceof RedisCaptchaServiceImpl){ | |
| 31 | + if (ret instanceof RedisCaptchaServiceImpl) { | |
| 32 | 32 | ((RedisCaptchaServiceImpl)ret).setStringRedisTemplate(stringRedisTemplate); |
| 33 | 33 | } |
| 34 | 34 | return ret; | ... | ... |