mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-08-21 02:30:59 +00:00
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user