From ea9ac672692c8d0ef1739946009ed9995fb7153b Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Tue, 14 Mar 2023 19:36:38 +0800 Subject: [PATCH] =?UTF-8?q?redis=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8F=82=E8=80=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report-core/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/report-core/README.md b/report-core/README.md index f852f475..347f78c5 100644 --- a/report-core/README.md +++ b/report-core/README.md @@ -3,23 +3,25 @@ ### 采用redis缓存 #### 1.pom.xml文件改动 -- 1、增加redis依赖 -``` +- 1、增加redis依赖,删除exclusions即可 +```xml com.anji-plus spring-boot-gaea 2.0.5.RELEASE + org.springframework.boot spring-boot-starter-data-redis + ``` - 2、 删除ehcache相关依赖 -``` +```xml net.sf.ehcache ehcache @@ -34,7 +36,7 @@ - 2、删除相关bean 文件地址:com.anjiplus.template.gaea.business.config.BusinessAutoConfiguration.java -``` +```java @Bean public CacheHelper gaeaCacheHelper(){ return new ReportCacheHelper();