mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 07:33:42 +08:00
parent
a16f249024
commit
387c4f0a20
@ -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