|
|
|
@ -45,7 +45,7 @@ spring:
|
|
|
|
messages:
|
|
|
|
messages:
|
|
|
|
# 国际化资源文件路径
|
|
|
|
# 国际化资源文件路径
|
|
|
|
basename: i18n/messages
|
|
|
|
basename: i18n/messages
|
|
|
|
profiles:
|
|
|
|
profiles:
|
|
|
|
active: druid
|
|
|
|
active: druid
|
|
|
|
# 文件上传
|
|
|
|
# 文件上传
|
|
|
|
servlet:
|
|
|
|
servlet:
|
|
|
|
@ -65,17 +65,21 @@ spring:
|
|
|
|
host: localhost
|
|
|
|
host: localhost
|
|
|
|
# 端口,默认为6379
|
|
|
|
# 端口,默认为6379
|
|
|
|
port: 6379
|
|
|
|
port: 6379
|
|
|
|
|
|
|
|
# # 地址
|
|
|
|
|
|
|
|
# host: 192.168.0.222
|
|
|
|
|
|
|
|
# # 端口,默认为6379
|
|
|
|
|
|
|
|
# port: 6380
|
|
|
|
# 数据库索引
|
|
|
|
# 数据库索引
|
|
|
|
database: 0
|
|
|
|
database: 0
|
|
|
|
# 密码
|
|
|
|
# 密码
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
# 连接超时时间
|
|
|
|
# 连接超时时间
|
|
|
|
timeout: 10s
|
|
|
|
timeout: 10s
|
|
|
|
lettuce:
|
|
|
|
lettuce:
|
|
|
|
pool:
|
|
|
|
pool:
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
min-idle: 0
|
|
|
|
min-idle: 0
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
# 连接池中的最大空闲连接yi
|
|
|
|
max-idle: 8
|
|
|
|
max-idle: 8
|
|
|
|
# 连接池的最大数据库连接数
|
|
|
|
# 连接池的最大数据库连接数
|
|
|
|
max-active: 8
|
|
|
|
max-active: 8
|
|
|
|
@ -90,7 +94,7 @@ token:
|
|
|
|
secret: abcdefghijklmnopqrstuvwxyz
|
|
|
|
secret: abcdefghijklmnopqrstuvwxyz
|
|
|
|
# 令牌有效期(默认30分钟)
|
|
|
|
# 令牌有效期(默认30分钟)
|
|
|
|
expireTime: 30
|
|
|
|
expireTime: 30
|
|
|
|
|
|
|
|
|
|
|
|
# MyBatis配置
|
|
|
|
# MyBatis配置
|
|
|
|
mybatis:
|
|
|
|
mybatis:
|
|
|
|
# 搜索指定包别名
|
|
|
|
# 搜索指定包别名
|
|
|
|
@ -101,10 +105,10 @@ mybatis:
|
|
|
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
|
|
|
|
|
|
|
# PageHelper分页插件
|
|
|
|
# PageHelper分页插件
|
|
|
|
pagehelper:
|
|
|
|
pagehelper:
|
|
|
|
helperDialect: mysql
|
|
|
|
helperDialect: mysql
|
|
|
|
supportMethodsArguments: true
|
|
|
|
supportMethodsArguments: true
|
|
|
|
params: count=countSql
|
|
|
|
params: count=countSql
|
|
|
|
|
|
|
|
|
|
|
|
# Swagger配置
|
|
|
|
# Swagger配置
|
|
|
|
swagger:
|
|
|
|
swagger:
|
|
|
|
@ -114,7 +118,7 @@ swagger:
|
|
|
|
pathMapping: /dev-api
|
|
|
|
pathMapping: /dev-api
|
|
|
|
|
|
|
|
|
|
|
|
# 防止XSS攻击
|
|
|
|
# 防止XSS攻击
|
|
|
|
xss:
|
|
|
|
xss:
|
|
|
|
# 过滤开关
|
|
|
|
# 过滤开关
|
|
|
|
enabled: true
|
|
|
|
enabled: true
|
|
|
|
# 排除链接(多个用逗号分隔)
|
|
|
|
# 排除链接(多个用逗号分隔)
|
|
|
|
|