package com.feiqu.framwork.config;

//@Configuration
public class RedisConfiguration {
   /* @Bean
    public JedisConnectionFactory redisConnectionFactory() {

        RedisStandaloneConfiguration config = new RedisStandaloneConfiguration("localhost", 6379);
        return new JedisConnectionFactory(config);
    }

    @Bean
    public RedisTemplate redisTemplate(){
        RedisTemplate redisTemplate = new RedisTemplate ();
        redisTemplate.setConnectionFactory(redisConnectionFactory());
        return redisTemplate;
    }*/


}
