Commit d0eb3663 by hulei

提JacksonRedisTemplate至SDK

parent f2794268
......@@ -16,8 +16,8 @@ import org.springframework.data.redis.serializer.StringRedisSerializer;
* @create: 2024-10-22 17:14
**/
public class RedisHelper {
public RedisTemplate<String, Object> craeteJacksonRedisTemplate(RedisConnectionFactory factory){
public class RedisTemplateBuilder {
public static RedisTemplate<String, Object> craeteJacksonRedisTemplate(RedisConnectionFactory factory){
RedisTemplate<String, Object> template = new RedisTemplate<>();
template.setConnectionFactory(factory);
......
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