|
|
|
@ -27,27 +27,18 @@ spring: |
|
|
|
|
testOnReturn: false |
|
|
|
|
poolPreparedStatements: true |
|
|
|
|
maxOpenPreparedStatements: 20 |
|
|
|
|
#thymelea模板配置 |
|
|
|
|
thymeleaf: |
|
|
|
|
prefix: classpath:/templates/ |
|
|
|
|
suffix: .html |
|
|
|
|
mode: HTML5 |
|
|
|
|
encoding: UTF-8 |
|
|
|
|
#热部署文件,页面不产生缓存,及时更新 |
|
|
|
|
cache: false |
|
|
|
|
#配置日期返回至前台为时间戳 |
|
|
|
|
jackson: |
|
|
|
|
serialization: |
|
|
|
|
write-dates-as-timestamps: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thymeleaf: |
|
|
|
|
cache: false |
|
|
|
|
prefix: classpath:/templates/ |
|
|
|
|
suffix: .html |
|
|
|
|
encoding: UTF-8 |
|
|
|
|
content-type: text/html |
|
|
|
|
mode: HTML5 |
|
|
|
|
redis: |
|
|
|
|
database: 0 |
|
|
|
|
host: 127.0.0.1 |
|
|
|
|
port: 36379 |
|
|
|
|
password: HF123456.Redis |
|
|
|
|
timeout: 1000 |
|
|
|
|
jedis: |
|
|
|
|
pool: |
|
|
|
|
max-active: 20 |
|
|
|
|
max-wait: -1 |
|
|
|
|
max-idle: 10 |
|
|
|
|
min-idle: 0 |
|
|
|
|
#MQTT配置信息 |
|
|
|
|
mqtt: |
|
|
|
|
#MQTT服务地址 |
|
|
|
@ -62,6 +53,22 @@ spring: |
|
|
|
|
#MQTT默认的消息推送主题,实际可在调用接口是指定 |
|
|
|
|
# default: |
|
|
|
|
# topic: topic |
|
|
|
|
#thymelea模板配置 |
|
|
|
|
|
|
|
|
|
#配置日期返回至前台为时间戳 |
|
|
|
|
jackson: |
|
|
|
|
serialization: |
|
|
|
|
write-dates-as-timestamps: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thymeleaf: |
|
|
|
|
cache: false |
|
|
|
|
prefix: classpath:/templates/ |
|
|
|
|
suffix: .html |
|
|
|
|
encoding: UTF-8 |
|
|
|
|
content-type: text/html |
|
|
|
|
mode: HTML5 |
|
|
|
|
|
|
|
|
|
rocketmq: |
|
|
|
|
name-server: 122.9.135.148:9876 |
|
|
|
|
producer: |
|
|
|
@ -74,6 +81,28 @@ mybatis: |
|
|
|
|
type-aliases-package: |
|
|
|
|
org.springboot.sample.entity |
|
|
|
|
|
|
|
|
|
jetcache: |
|
|
|
|
statIntervalMinutes: 15 |
|
|
|
|
areaInCacheName: false |
|
|
|
|
local: |
|
|
|
|
default: |
|
|
|
|
type: linkedhashmap |
|
|
|
|
keyConvertor: fastjson |
|
|
|
|
remote: |
|
|
|
|
default: |
|
|
|
|
type: redis |
|
|
|
|
host: 127.0.0.1 |
|
|
|
|
port: 36379 |
|
|
|
|
password: HF123456.Redis |
|
|
|
|
keyConvertor: fastjson |
|
|
|
|
broadcastChannel: projectA |
|
|
|
|
valueEncoder: java |
|
|
|
|
valueDecoder: java |
|
|
|
|
poolConfig: |
|
|
|
|
minIdle: 5 |
|
|
|
|
maxIdle: 20 |
|
|
|
|
maxTotal: 50 |
|
|
|
|
|
|
|
|
|
pagehelper: |
|
|
|
|
helperDialect: mysql |
|
|
|
|
reasonable: true |
|
|
|
|