# mysql 多数据源
|
spring:
|
# 环境 dev|sznmsprov|gkhyprov|prod|xjprov|xjzwprov
|
profiles:
|
# active: aliyun-prod
|
active: testOnline
|
#redis
|
redis:
|
database: 0
|
host: 127.0.0.1
|
port: 6379
|
password: wioowr23923sd3*&
|
jedis:
|
pool:
|
max-idle: 8
|
max-active: 8
|
max-wait: -1ms
|
min-idle: 0
|
#security
|
security:
|
user:
|
name: user
|
password: 123
|
roles: admin
|
# jackson config
|
jackson:
|
date-format: yyyy-MM-dd HH:mm:ss
|
time-zone: GMT+8
|
default-property-inclusion: NON_NULL
|
#上传文件大小
|
servlet:
|
multipart:
|
max-file-size: 500MB
|
max-request-size: 500MB
|
thymeleaf:
|
cache: false
|
#mybatis:
|
# mapper-locations: classpath*:com/gk/firework/Mapper/mybatis/*.xml
|
# type-aliases-package: com.gk.firework.Domain
|
|
#mybatis 多数据源
|
mybatis-plus:
|
mapper-locations: classpath*:com/gk/firework/Mapper/mybatis/*.xml
|
type-aliases-package: com.gk.firework.Domain
|
type-enums-package: com.gk.firework.Domain.Enum
|
|
#线程池配置
|
threadPool:
|
corePoolSize: 20
|
maxPoolSize: 20
|
queueCapacity: 10000
|
|
logging:
|
level:
|
com.gk.firework.Mapper : debug
|
|
#sendwarnurl-nms: http://sinanoaq.com/daping/sendWarnInfo.json
|
|
#定义入库、出库、销售分表
|
slice: _slice1
|