Pre Merge pull request !880 from YueYe/6.X

This commit is contained in:
YueYe 2026-08-20 06:35:26 +00:00 committed by Gitee
commit a417a23e6d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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);
}
}