基于Springboot 2.x如何配置Redis使用Json序列化自定义的方法
基于Springboot 2.x配置Redis使用Json序列化自定义的方法当我们使用SpringBoot配置的Redis缓存的时候,会发现我们所缓存的Redis的序列化,是乱码的,那我们有没有办法重新更改配置使它变成Json的格式进行缓存呢大家可以参考以下的方法package com.winds.cache.config;import com.winds.cache.bean.Employee;import org.springframework.cache.CacheManager;
原创
2020-07-29 10:38:53 ·
704 阅读 ·
2 评论