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