stringredistemplate是怎么配置的redis连接信息的?
在application.properties里面设置redis服务地址
spring.redis.host=127.0.0.1 就行了