@Cacheable(cacheNames="xxxxx" ,key = "'teststr'")key如果想设置为常量则需要‘’ 转载于:https://www.cnblogs.com/meiyouruguoZ/p/10655482.html