测试 @CacheEvict
使用了CacheEvict注解的方法,会清空指定缓存 「一般用在删除的方法上」
cacheNames 命名规则 查看 {@link CacheNames CacheNames} 注释 支持多参数
Authorization: Bearer ********************curl --location 'https://www.mengzhikeji.cn/prod-api/demo/demo/cache/test3?key=&value=' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "string",
"data": "string"
}