Skip to content

Commit d7a9d85

Browse files
committed
feat: 引入 cache 组件、基于 caffeine 实现
1 parent d7a122d commit d7a9d85

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

simple-common/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
<groupId>org.springframework.boot</groupId>
3838
<artifactId>spring-boot-configuration-processor</artifactId>
3939
</dependency>
40+
<!--引入 SpringBoot Cache-->
41+
<dependency>
42+
<groupId>org.springframework.boot</groupId>
43+
<artifactId>spring-boot-starter-cache</artifactId>
44+
</dependency>
4045
<!--引入 mybatis-->
4146
<dependency>
4247
<groupId>org.mybatis.spring.boot</groupId>
@@ -68,5 +73,10 @@
6873
<groupId>com.google.guava</groupId>
6974
<artifactId>guava</artifactId>
7075
</dependency>
76+
<!--引入 caffeine 本地缓存工具-->
77+
<dependency>
78+
<groupId>com.github.ben-manes.caffeine</groupId>
79+
<artifactId>caffeine</artifactId>
80+
</dependency>
7181
</dependencies>
7282
</project>

0 commit comments

Comments
 (0)