generated from root/miduo_server
fix
parent
6f40d90a42
commit
cbbfa933f2
|
@ -79,7 +79,7 @@ public class MyStringRedisTemplate {
|
||||||
}
|
}
|
||||||
//设置密码
|
//设置密码
|
||||||
connectionFactory.setPassword(redisProperties.getPassword());
|
connectionFactory.setPassword(redisProperties.getPassword());
|
||||||
connectionFactory.setDatabase(redisProperties.getDatabase());
|
// connectionFactory.setDatabase(redisProperties.getDatabase());
|
||||||
|
|
||||||
//初始化connectionFactory
|
//初始化connectionFactory
|
||||||
connectionFactory.afterPropertiesSet();
|
connectionFactory.afterPropertiesSet();
|
||||||
|
|
Loading…
Reference in New Issue