springcache使用自带的缓存----》标志
EnableCaching
存缓存 ——————————————————》 Cacheable
例:
@Cacheable(value = “gathering(全局的名称:好像随便给)”,key = “#id”) //springcache存
删除/修改内存 ——————————————》 CacheEvict
例:
@CacheEvict(value = “gathering”,key = “#gathering.id”)//修改