75 lines
1.9 KiB
YAML
75 lines
1.9 KiB
YAML
server:
|
||
port: 7790
|
||
compression: #开启gzip压缩,返回内容大于2k的才会进行压缩
|
||
enabled: true
|
||
mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
|
||
min-response-size: 2048
|
||
|
||
logging.level:
|
||
'[quant.rich]': debug
|
||
'[org.springframework.security]': info
|
||
'[org.springframework.boot.devtools.restart]': debug
|
||
|
||
spring:
|
||
cache:
|
||
type: redis
|
||
redis:
|
||
key-prefix: 'emoney-auto:'
|
||
use-key-prefix: true
|
||
devtools:
|
||
restart:
|
||
enabled: true
|
||
additional-exclude:
|
||
- '**/*.html'
|
||
- '**/*.js'
|
||
- '**/*.css'
|
||
additional-paths: lib/
|
||
jackson:
|
||
date-format: yyyy-MM-dd HH:mm:ss
|
||
time-zone: Asia/Shanghai
|
||
profiles.active: remote
|
||
session.timeout: 86400
|
||
thymeleaf:
|
||
prefix: classpath:/webpage/
|
||
suffix: .html
|
||
mode: HTML
|
||
encoding: UTF-8
|
||
cache: false
|
||
|
||
mybatis-plus-join.banner: false
|
||
mybatis-plus:
|
||
global-config:
|
||
banner: false
|
||
mapper-locations:
|
||
- classpath*:mapper/postgre/*.xml
|
||
- classpath*:mapper/sqlite/*.xml
|
||
type-aliases-package:
|
||
- quant.rich.emoney.entity.postgre
|
||
- quant.rich.emoney.entity.sqlite
|
||
type-handlers-package: quant.rich.emoney.mybatis.typehandler
|
||
configuration:
|
||
map-underscore-to-camel-case: true
|
||
default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
|
||
|
||
kaptcha:
|
||
border: "no"
|
||
image:
|
||
width: 130
|
||
height: 38
|
||
textproducer:
|
||
char:
|
||
length: 5
|
||
font:
|
||
color: 35,37,38,80
|
||
size: 30
|
||
names: Times New Roman,Sans,Microsoft Yahei UI,Consolas
|
||
session:
|
||
key: code
|
||
noise:
|
||
color: 35,37,38,80
|
||
|
||
# 程序默认配置,部分内容可以通过数据库覆写
|
||
# 当数据库不存在配置时默认加载文件内配置
|
||
emoney-auto-config:
|
||
username: admin
|
||
password: Em0nY_4u70~! |