|
|
|
@ -60,6 +60,12 @@ spring: |
|
|
|
# 国际化资源文件路径 |
|
|
|
basename: static/i18n/messages |
|
|
|
jackson: |
|
|
|
serialization: |
|
|
|
# 某些类对象无法序列化的时候,是否报错 |
|
|
|
fail_on_empty_beans: true |
|
|
|
deserialization: |
|
|
|
# json对象中有不存在的属性时候,是否报错 |
|
|
|
fail_on_unknown_properties: true |
|
|
|
time-zone: GMT+8 |
|
|
|
date-format: yyyy-MM-dd HH:mm:ss |
|
|
|
#配置读取的多环境读取 |
|
|
|
@ -93,12 +99,12 @@ spring: |
|
|
|
# redis配置 |
|
|
|
redis: |
|
|
|
database: 0 |
|
|
|
host: localhost |
|
|
|
port: 6379 |
|
|
|
password: zfjd@123 |
|
|
|
# host: 43.136.51.161 |
|
|
|
# host: localhost |
|
|
|
# port: 6379 |
|
|
|
# password: meiyoumima |
|
|
|
# password: zfjd@123 |
|
|
|
host: 43.136.51.161 |
|
|
|
port: 6379 |
|
|
|
password: meiyoumima |
|
|
|
timeout: 6000ms # 连接超时时长(毫秒) |
|
|
|
lettuce: |
|
|
|
pool: |
|
|
|
@ -202,7 +208,7 @@ security: |
|
|
|
|
|
|
|
|
|
|
|
allowed: |
|
|
|
servernames: localhost,127.0.0.1,139.186.135.156,10.132.108.3,10.76.108.1 |
|
|
|
servernames: localhost,127.0.0.1,139.186.135.156,10.132.108.3,10.76.108.1,192.168.31.71,192.168.1.102 |
|
|
|
|
|
|
|
excel: |
|
|
|
export: true |
|
|
|
|