|
|
|
@@ -1,9 +1,9 @@ |
|
|
|
spring: |
|
|
|
# JDBC |
|
|
|
datasource: |
|
|
|
url: jdbc:mysql://127.0.0.1:3306/mallink?characterEncoding=UTF-8 |
|
|
|
username: root |
|
|
|
password: 1234qwer |
|
|
|
url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?characterEncoding=UTF-8 |
|
|
|
username: ENC(BDv01/sQdBGEhFEXuw+8tw==) |
|
|
|
password: ENC(0wvpX49+RMUpGP2tb9PY4ta/yCwAmLLhbKG9ndvifPI=) |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driver_class: com.mysql.cj.jdbc.Driver |
|
|
|
filters: stat |
|
|
|
@@ -22,9 +22,11 @@ spring: |
|
|
|
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" |
|
|
|
# REDIS |
|
|
|
redis: |
|
|
|
host: 127.0.0.1 |
|
|
|
port: 6379 |
|
|
|
host: 202.165.179.86 |
|
|
|
port: 6789 |
|
|
|
password: ENC(YOLO4buIPjiYfosG+Akk3XZ9HYrbCFco) |
|
|
|
timeout: 0 |
|
|
|
expire: 1800 #30分钟 |
|
|
|
pool: |
|
|
|
max-active: 8 |
|
|
|
max-idle: 8 |
|
|
|
@@ -33,5 +35,5 @@ spring: |
|
|
|
|
|
|
|
logging: |
|
|
|
level: |
|
|
|
tk.mybatis: error |
|
|
|
com.iformall.mapper: error |
|
|
|
tk.mybatis: debug |
|
|
|
com.iformall.mapper: debug |