|
|
@ -9,9 +9,9 @@ debug: false |
|
|
|
#datasource数据源设置 |
|
|
|
#datasource数据源设置 |
|
|
|
spring: |
|
|
|
spring: |
|
|
|
datasource: |
|
|
|
datasource: |
|
|
|
url: jdbc:mysql://192.168.0.63:21100/hsg?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8 |
|
|
|
url: jdbc:mysql://139.159.177.244:3306/hfkj?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false |
|
|
|
username: hsg |
|
|
|
username: root |
|
|
|
password: HUfukeji123456!@# |
|
|
|
password: HF123456. |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
filters: stat |
|
|
|
filters: stat |
|
|
@ -29,38 +29,20 @@ spring: |
|
|
|
maxOpenPreparedStatements: 20 |
|
|
|
maxOpenPreparedStatements: 20 |
|
|
|
redis: |
|
|
|
redis: |
|
|
|
database: 0 |
|
|
|
database: 0 |
|
|
|
host: 127.0.0.1 |
|
|
|
host: 139.159.177.244 |
|
|
|
port: 36379 |
|
|
|
port: 36379 |
|
|
|
password: HF123456.Redis |
|
|
|
password: HF123456.Redis |
|
|
|
timeout: 1000 |
|
|
|
timeout: 36000000 |
|
|
|
jedis: |
|
|
|
jedis: |
|
|
|
pool: |
|
|
|
pool: |
|
|
|
max-active: 20 |
|
|
|
max-active: 20 |
|
|
|
max-wait: -1 |
|
|
|
max-wait: -1 |
|
|
|
max-idle: 10 |
|
|
|
max-idle: 10 |
|
|
|
min-idle: 0 |
|
|
|
min-idle: 0 |
|
|
|
#thymelea模板配置 |
|
|
|
|
|
|
|
thymeleaf: |
|
|
|
|
|
|
|
prefix: classpath:/templates/ |
|
|
|
|
|
|
|
suffix: .html |
|
|
|
|
|
|
|
mode: HTML5 |
|
|
|
|
|
|
|
encoding: UTF-8 |
|
|
|
|
|
|
|
#热部署文件,页面不产生缓存,及时更新 |
|
|
|
|
|
|
|
cache: false |
|
|
|
|
|
|
|
#配置日期返回至前台为时间戳 |
|
|
|
#配置日期返回至前台为时间戳 |
|
|
|
jackson: |
|
|
|
jackson: |
|
|
|
serialization: |
|
|
|
serialization: |
|
|
|
write-dates-as-timestamps: true |
|
|
|
write-dates-as-timestamps: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thymeleaf: |
|
|
|
|
|
|
|
cache: false |
|
|
|
|
|
|
|
prefix: classpath:/templates/ |
|
|
|
|
|
|
|
suffix: .html |
|
|
|
|
|
|
|
encoding: UTF-8 |
|
|
|
|
|
|
|
content-type: text/html |
|
|
|
|
|
|
|
mode: HTML5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mybatis: |
|
|
|
mybatis: |
|
|
|
mapperLocations: |
|
|
|
mapperLocations: |
|
|
|
- classpath*:sqlmap*/*.xml |
|
|
|
- classpath*:sqlmap*/*.xml |
|
|
|