From fa1b69cd7a1733cac8f7b3dbda743d4ea53dce8b Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 02 三月 2023 20:48:49 +0800 Subject: [PATCH] 配置文件 --- ycl-platform/src/main/resources/application-dev.yml | 25 +++---------------------- 1 files changed, 3 insertions(+), 22 deletions(-) diff --git a/ycl-platform/src/main/resources/application-dev.yml b/ycl-platform/src/main/resources/application-dev.yml index c903937..469d7c8 100644 --- a/ycl-platform/src/main/resources/application-dev.yml +++ b/ycl-platform/src/main/resources/application-dev.yml @@ -34,30 +34,10 @@ min-idle: 0 timeout: 0 -# datasource: -# url: jdbc:mysql://42.193.1.25:3306/sccg?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false -# username: root -# password: 321$YcYl@1970! -# type: com.alibaba.druid.pool.DruidDataSource -# driver-class-name: com.mysql.cj.jdbc.Driver -# filters: stat -# maxActive: 20 -# initialSize: 1 -# maxWait: 60000 -# minIdle: 1 -# timeBetweenEvictionRunsMillis: 60000 -# minEvictableIdleTimeMillis: 300000 -# validationQuery: select 'x' -# testWhileIdle: true -# testOnBorrow: false -# testOnReturn: false -# poolPreparedStatements: true -# maxOpenPreparedStatements: 20 - datasource: - url: jdbc:mysql://124.222.18.104:3319/sccg?characterEncoding=utf-8 + url: jdbc:mysql://42.193.1.25:3306/sccg?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false username: root - password: root + password: 321$YcYl@1970! type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver filters: stat @@ -74,6 +54,7 @@ poolPreparedStatements: true maxOpenPreparedStatements: 20 + e-mail: sendHost: smtp.qq.com username: 1723292425@qq.com -- Gitblit v1.8.0