!215 使用Spring Cache注解优化缓存

This commit is contained in:
MichelleChung
2022-08-13 15:35:55 +00:00
committed by 疯狂的狮子Li
parent 89c1e4f91d
commit 0936aaccea
13 changed files with 151 additions and 119 deletions

View File

@ -20,4 +20,19 @@ public interface CacheNames {
*/
String DEMO_CACHE = "demo:cache#60s#10m#20";
/**
* 系统配置
*/
String SYS_CONFIG = "sys_config";
/**
* 数据字典
*/
String SYS_DICT = "sys_dict";
/**
* OSS配置
*/
String SYS_OSS_CONFIG = "sys_oss_config";
}