From e793a334fad3b1af3e3e4a589d7659b017100be1 Mon Sep 17 00:00:00 2001 From: zyx <1029606625@qq.com> Date: Sun, 26 Feb 2023 21:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5Redis=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++++ src/main/resources/application.yml | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 45631c4..d098097 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,10 @@ org.springframework.boot spring-boot-starter-web + + org.springframework.boot + spring-boot-starter-data-redis + org.springframework.boot spring-boot-starter-test diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c001c8d..ec993d0 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -4,15 +4,17 @@ spring: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/reggie?serverTimezone=Asia/Shanghai username: root - password: +# redis: +# password: +# password: mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl -reggie: - path: +#reggie: +# path: -email: - userName: - password: \ No newline at end of file +#email: +# userName: +# password: \ No newline at end of file