摘要: 1. 通过MyBatis使用redis缓存 1. 在 *Mapper.xml 内添加 cache 标签,type的值为自定义的redisCache类的全路径 2. 定义RedisCache类,继承自Cache,如下: public class RedisCache implements Cache 阅读全文
posted @ 2021-09-29 21:34 一只小白的进修路 阅读(301) 评论(0) 推荐(0)