File tree 1 file changed +2
-2
lines changed
content/posts/multi-module-project-use-enum-config-spring-cache
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ common模块缓存配置(***使用 Lombok 的 FieldNameConstants 自动生成
40
40
@lombok.experimental.FieldNameConstants (onlyExplicitlyIncluded = true )
41
41
public enum CommonCacheConfig implements ICacheConfig {
42
42
43
- @FieldNameConstants . Include QUOTE_LEVEL (1000 , 2 );
43
+ @FieldNameConstants . Include QUOTE_LEVEL (2 );
44
44
45
45
private final Integer ttl;
46
46
@@ -54,7 +54,7 @@ public enum CommonCacheConfig implements ICacheConfig {
54
54
@lombok.experimental.FieldNameConstants (onlyExplicitlyIncluded = true )
55
55
public enum QuoteServiceCacheConfig implements ICacheConfig {
56
56
57
- @FieldNameConstants . Include HOT_STOCK (1000 , 30 );
57
+ @FieldNameConstants . Include HOT_STOCK (30 );
58
58
59
59
private final Integer ttl;
60
60
You can’t perform that action at this time.
0 commit comments