yanghb
2025-02-18 1fc203f758ace853f4bfa900c422c2f741d09e79
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.zzg.common.config;
 
import org.springframework.cache.concurrent.ConcurrentMapCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
@Configuration
public class CacheManagerConfig {
 
    @Bean
    public ConcurrentMapCacheManager cacheManager() {
        return new ConcurrentMapCacheManager();
    }
}