2019年1月8日

SpringBoot的缓存

摘要: 1、引入jar包 .properties配置文件配置(xml中): 2、代码应用 类前加注解 @CacheConfig(cacheNames = {"comCodes","cardSubType"}) 一个方法对应数组中的一个元素,多个方法则对应多个元素 方法前加注解 @Cacheable(cach 阅读全文

posted @ 2019-01-08 15:28 sometimes-ever 阅读(468) 评论(0) 推荐(0) 编辑

导航