Commit fefa67b9 authored by zhouleilei's avatar zhouleilei

优化redis配置

parent 89b3841a
......@@ -119,7 +119,7 @@ public class RedisConfig extends CachingConfigurerSupport {
@Bean
public Jedis jedis() {
Jedis jedis = new Jedis(redisHost, redisPort);
jedis.auth("Wanji300552");
jedis.auth(password);
return jedis;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment