From 40f6aa11c2899ea8c13c7cf66bc1981bdd7d141a Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Tue, 25 May 2021 13:51:50 +0800 Subject: [PATCH] screen-manage 更改数据库连接地址 --- screen-manage/src/main/resources/application-dev.yml | 45 ++++++++++++++++++++++++++++++++++++--------- 1 files changed, 36 insertions(+), 9 deletions(-) diff --git a/screen-manage/src/main/resources/application-dev.yml b/screen-manage/src/main/resources/application-dev.yml index ac59da8..4a6899a 100644 --- a/screen-manage/src/main/resources/application-dev.yml +++ b/screen-manage/src/main/resources/application-dev.yml @@ -13,16 +13,14 @@ spring: profiles: active: dev + include: + moduleFormColumn application: name: screen-manage redis: - #cluster: - #nodes: 47.112.126.78:7001,47.112.126.78:7002,47.112.126.132:7003,47.112.126.132:7004,47.112.132.193:7005,47.112.132.193:7006 - #password: test - #timeout: 500 - host: 127.0.0.1 + host: r-bp1xdlb9wfc6zt0msp.redis.rds.aliyuncs.com port: 6379 - password: 123456 + password: moral_123456 timeout: 30000 jedis: pool: @@ -36,6 +34,18 @@ max-idle: 64 max-wait: 30000 min-idle: 32 + tokenRedis: + host: r-bp1xdlb9wfc6zt0msp.redis.rds.aliyuncs.com + port: 6379 + password: moral_123456 + timeout: 30000 + database: 14 + pool: + max-active: 256 + max-wait: 30000 + max-idle: 64 + min-idle: 32 + datasource: minIdle: 1 time-between-eviction-runs-millis: 60000 @@ -45,8 +55,9 @@ filters: stat type: com.alibaba.druid.pool.DruidDataSource max-wait: 60000 - url: jdbc:mysql://192.168.0.18:4000/test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC - password: 123456 + url: jdbc:mysql://rm-bp1pr3rx9m3fnkwsk.mysql.rds.aliyuncs.com:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai + username: root + password: moral_123456 test-on-borrow: false sql-script-encoding: utf-8 pool-prepared-statements: true @@ -55,7 +66,6 @@ driver-class-name: com.mysql.cj.jdbc.Driver max-conn-lifetime-millis: 20 test-on-return: false - username: root mybatis-plus: mapper-locations: classpath:mapper/*.xml @@ -98,4 +108,21 @@ linger: 1 retries: 0 servers: 192.168.0.16:9092,192.168.0.17:9092,192.168.0.18:9092 +mvc: + interceptor: + exclude: + - /login + - /swagger-ui.html + - /swagger-resources/** + - /webjars/** + - /verificationCode/** + - /manageLog/** + +AES: + KEY: + AD42F7787B035B7580000EF93BE20BAD +TOKEN: + KEY: + foh3wi2ooghiCh5 + -- Gitblit v1.8.0