From 8887d35cad7fd0df9363e4da7c8774ec7e8c7a48 Mon Sep 17 00:00:00 2001 From: "jiakun.lin" Date: Wed, 25 Aug 2021 15:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ERedis=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application-occupationlab.properties | 22 ++++++++++++------- src/main/resources/application.yml | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application-occupationlab.properties b/src/main/resources/application-occupationlab.properties index e28e685..1d2b983 100644 --- a/src/main/resources/application-occupationlab.properties +++ b/src/main/resources/application-occupationlab.properties @@ -3,16 +3,16 @@ server.port=1010 server.servlet.context-path=/project #\u6B63\u5F0F\u6570\u636E\u5E93\u8FDE\u63A5 -spring.datasource.url=jdbc:mysql://rm-wz90d92p0pf083nxzno.mysql.rds.aliyuncs.com:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai -spring.datasource.username=root -spring.datasource.password=HuoRan@2021 -spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +#spring.datasource.url=jdbc:mysql://rm-wz90d92p0pf083nxzno.mysql.rds.aliyuncs.com:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +#spring.datasource.username=root +#spring.datasource.password=HuoRan@2021 +#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver #\u6D4B\u8BD5\u6570\u636E\u5E93\u8FDE\u63A5 -#spring.datasource.url=jdbc:mysql://rm-wz9y13wf7u8q8610fwo.mysql.rds.aliyuncs.com:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai -#spring.datasource.username=super -#spring.datasource.password=huoran888 -#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.datasource.url=jdbc:mysql://rm-wz9y13wf7u8q8610fwo.mysql.rds.aliyuncs.com:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +spring.datasource.username=super +spring.datasource.password=huoran888 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jackson.default-property-inclusion=non_null @@ -23,6 +23,12 @@ logging.level.jdbc.resultsettable=DEBUG logging.level.com.yipin.liuwar.mapper=DEBUG logging.level.com.yipin.liuwanr.mapper=DEBUG +spring.redis.database=0 +spring.redis.host=127.0.0.1 +spring.redis.password=msdw@2021 +spring.redis.port=6710 +spring.redis.timeout=3000 + #开启全局拦截,为空不开启拦截 auth.openInterceptStr= #auth.openInterceptStr=/** diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 4ada0c2..0e3e2e0 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: kdintranet + active: occupationlab