mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
回退验证码到 1.0.2
This commit is contained in:
parent
7e6a3d2e36
commit
749fe9d515
@ -43,7 +43,7 @@
|
|||||||
<!-- Bpm 工作流相关 -->
|
<!-- Bpm 工作流相关 -->
|
||||||
<flowable.version>6.8.0</flowable.version>
|
<flowable.version>6.8.0</flowable.version>
|
||||||
<!-- 工具类相关 -->
|
<!-- 工具类相关 -->
|
||||||
<captcha-plus.version>1.0.4</captcha-plus.version>
|
<captcha-plus.version>1.0.2</captcha-plus.version>
|
||||||
<jsoup.version>1.15.4</jsoup.version>
|
<jsoup.version>1.15.4</jsoup.version>
|
||||||
<lombok.version>1.18.26</lombok.version>
|
<lombok.version>1.18.26</lombok.version>
|
||||||
<mapstruct.version>1.5.5.Final</mapstruct.version>
|
<mapstruct.version>1.5.5.Final</mapstruct.version>
|
||||||
|
@ -26,9 +26,9 @@ public class YudaoCaptchaConfiguration {
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public CaptchaCacheService captchaCacheService(AjCaptchaProperties config) {
|
public CaptchaCacheService captchaCacheService(AjCaptchaProperties config) {
|
||||||
//缓存类型redis/local/....
|
// 缓存类型 redis/local/....
|
||||||
CaptchaCacheService ret = CaptchaServiceFactory.getCache(config.getCacheType().name());
|
CaptchaCacheService ret = CaptchaServiceFactory.getCache(config.getCacheType().name());
|
||||||
if(ret instanceof RedisCaptchaServiceImpl){
|
if (ret instanceof RedisCaptchaServiceImpl) {
|
||||||
((RedisCaptchaServiceImpl)ret).setStringRedisTemplate(stringRedisTemplate);
|
((RedisCaptchaServiceImpl)ret).setStringRedisTemplate(stringRedisTemplate);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user