mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-14 08:03:43 +08:00
[fix]修复 启用本地缓存
This commit is contained in:
parent
a16f249024
commit
d281c9f5f2
@ -38,8 +38,8 @@ public class CacheConfig {
|
||||
* 自定义缓存管理器 整合spring-cache
|
||||
*/
|
||||
@Bean
|
||||
public CacheManager cacheManager() {
|
||||
return new PlusSpringCacheManager();
|
||||
public CacheManager cacheManager(Cache<Object, Object> caffeine) {
|
||||
return new PlusSpringCacheManager(caffeine);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user