guns/src/main/resources/application.yml

45 lines
844 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

server:
port: 8080
max-http-header-size: 10240
spring:
application:
name: guns
profiles:
active: @spring.active@
mvc:
view:
prefix: /pages
servlet:
multipart:
max-request-size: 200MB
max-file-size: 200MB
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
locale: zh_CN
serialization:
indent_output: false
scanner:
open: true
sys-log:
# db-数据库file-文件
type: db
file-save-path: _sys_logs
mybatis-plus:
mapper-locations: classpath*:cn/stylefeng/**/mapping/*.xml
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
lazy-loading-enabled: true
multiple-result-sets-enabled: true
global-config:
banner: false
enable-sql-runner: true
db-config:
id-type: assign_id
table-underline: true