mitao
2025-01-16 586b24afe3f0cc8739f50f3e80f3c3d7aace54cb
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();
    }
}