498 解决解决 Set access token expire time to 0 报错问题和邮件发送用户编号为空问题

This commit is contained in:
YunaiV
2023-06-17 12:36:13 +08:00
parent 933bb188bd
commit 16dd86a8db
2 changed files with 3 additions and 5 deletions

View File

@ -29,7 +29,7 @@ public class YudaoCaptchaConfiguration {
// 缓存类型 redis/local/....
CaptchaCacheService ret = CaptchaServiceFactory.getCache(config.getCacheType().name());
if (ret instanceof RedisCaptchaServiceImpl) {
((RedisCaptchaServiceImpl)ret).setStringRedisTemplate(stringRedisTemplate);
((RedisCaptchaServiceImpl) ret).setStringRedisTemplate(stringRedisTemplate);
}
return ret;
}