You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.6 KiB
43 lines
1.6 KiB
server: |
|
port: 8082 |
|
tongweb: |
|
license: |
|
path: classpath:license/license.dat |
|
|
|
spring: |
|
profiles: |
|
active: @profiles.active@ |
|
datasource: |
|
driver-class-name: org.postgresql.Driver |
|
hikari: |
|
connection-timeout: 30000 # 等待连接分配连接的最大时长(毫秒),超出时长还没可用连接则发送SQLException,默认30秒 |
|
minimum-idle: 5 # 最小连接数 |
|
maximum-pool-size: 20 # 最大连接数 |
|
auto-commit: true # 自动提交 |
|
idle-timeout: 600000 # 连接超时的最大时长(毫秒),超时则被释放(retired),默认10分钟 |
|
pool-name: DateSourceHikariCP # 连接池名称 |
|
max-lifetime: 1800000 # 连接的生命时长(毫秒),超时而且没被使用则被释放,默认30分钟(1800000ms) |
|
connection-init-sql: SELECT 1 # 连接时发起SQL测试脚本 |
|
servlet: |
|
multipart: |
|
max-file-size: 100MB |
|
max-request-size: 100MB |
|
|
|
# Sa-token配置 |
|
sa-token: |
|
token-name: admin # token的名称 |
|
timeout: 2592000 # token有效期单位s(默认30天,-1代表永不过期) |
|
active-timeout: -1 # token临时有效期(指定时间无操作掉线) |
|
is-concurrent: true # 是否允许同一账号并发登录 |
|
is-share: false # 多人同登账号共用token |
|
token-style: random-64 # token生成的风格 |
|
is-print: false # 打印版本字符画 |
|
is-log: false # 是否输出操作日志 |
|
logging: |
|
level: |
|
root: INFO |
|
com.biutag: debug |
|
|
|
mybatis-plus: |
|
# 对应的 XML 文件位置 |
|
mapper-locations: classpath*:mapper/*Mapper.xml |