【7.0.1】修复缓存名称问题

pull/3/head
fengshuonan 2021-02-26 23:19:09 +08:00
parent ccb2534945
commit 5c96338fba
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class GunsRedisCacheAutoConfiguration {
* @date 2021/1/31 20:45
*/
@Bean
public RedisTemplate<String, String> stringRedisTemplate(RedisConnectionFactory redisConnectionFactory) {
public RedisTemplate<String, String> gunsStringRedisTemplate(RedisConnectionFactory redisConnectionFactory) {
RedisTemplate<String, String> template = new RedisTemplate<>();
template.setConnectionFactory(redisConnectionFactory);
template.setKeySerializer(new StringRedisSerializer());