|
|
|
@@ -1,9 +1,9 @@ |
|
|
|
spring: |
|
|
|
# JDBC |
|
|
|
datasource: |
|
|
|
url: jdbc:mysql://127.0.0.1:63306/mallink?characterEncoding=UTF-8&useSSL=false |
|
|
|
username: root |
|
|
|
password: root |
|
|
|
url: jdbc:mysql://202.165.179.86:3306/mallink?characterEncoding=UTF-8&useSSL=false |
|
|
|
username: mallone |
|
|
|
password: m@1l0ne123@# |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
filters: stat |
|
|
|
@@ -19,20 +19,20 @@ spring: |
|
|
|
testOnReturn: false |
|
|
|
poolPreparedStatements: true |
|
|
|
maxOpenPreparedStatements: 20 |
|
|
|
jackson: |
|
|
|
date-format: yyyy-MM-dd HH:mm:ss |
|
|
|
#jackson: |
|
|
|
#date-format: yyyy-MM-dd HH:mm:ss |
|
|
|
|
|
|
|
# REDIS |
|
|
|
redis: |
|
|
|
host: 127.0.0.1 |
|
|
|
port: 6379 |
|
|
|
host: 202.165.179.86 |
|
|
|
port: 6789 |
|
|
|
password: JGtest123 |
|
|
|
timeout: 0 |
|
|
|
expire: 1800 #30分钟 |
|
|
|
pool: |
|
|
|
max-active: 8 |
|
|
|
max-idle: 8 |
|
|
|
max-wait: -1 |
|
|
|
min-idle: 0 |
|
|
|
|
|
|
|
logging: |
|
|
|
level: |
|
|
|
|