https://www.cnblogs.com/yiMro/p/13529150.html
SpringBoot + Redis:基本配置及使用
@Test
public void TestRedis(){
Jedis jedis =new Jedis("192.168.1.???",6379);
jedis.set("name","sjm");
String string =jedis.get("name");
System.out.print(string);
jedis.close();
}
spring:
redis:
host: 192.168.1.228
port: 6379
database: 0