文件配置
This commit is contained in:
parent
b5ba1bf1d6
commit
bcf4b05477
|
@ -1,58 +1,70 @@
|
||||||
server:
|
server:
|
||||||
port: 8080
|
port: 8080
|
||||||
servlet.context-path: /ms-mcms
|
servlet.context-path: /ms-mcms
|
||||||
servlet.session.timeout: 60M
|
servlet.session.timeout: 60M
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
net.mingsoft: trace
|
net.mingsoft: trace
|
||||||
ms:
|
ms:
|
||||||
manager:
|
manager:
|
||||||
path: /ms
|
path: /ms
|
||||||
view-path: /WEB-INF/manager
|
view-path: /WEB-INF/manager
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
path: /upload
|
path: /upload
|
||||||
mapping: /upload/**
|
mapping: /upload/**
|
||||||
denied: .exe,.jsp
|
denied: .exe,.jsp
|
||||||
|
multipart:
|
||||||
spring:
|
#最大上传文件大小 单位:KB
|
||||||
profiles:
|
max-file-size: 10240
|
||||||
active: dev
|
#文件暂存临时目录
|
||||||
mvc:
|
upload-temp-dir: temp
|
||||||
pathmatch:
|
#临时文件大小
|
||||||
use-suffix-pattern: true
|
max-in-memory-size: 10240
|
||||||
devtools:
|
#总上传最大大小 单位:KB -1禁用
|
||||||
restart:
|
max-request-size: -1
|
||||||
enabled: true
|
|
||||||
additional-paths: src/main/java
|
|
||||||
exclude: static/**,WEB-INF/**
|
|
||||||
servlet:
|
|
||||||
multipart:
|
spring:
|
||||||
max-request-size: 100MB
|
profiles:
|
||||||
enabled: false
|
active: dev
|
||||||
freemarker:
|
mvc:
|
||||||
suffix: .ftl
|
pathmatch:
|
||||||
charset: UTF-8
|
use-suffix-pattern: true
|
||||||
content-type: text/html
|
devtools:
|
||||||
allow-request-override: true
|
restart:
|
||||||
allow-session-override: true
|
enabled: true
|
||||||
expose-request-attributes: true
|
additional-paths: src/main/java
|
||||||
expose-session-attributes: true
|
exclude: static/**,WEB-INF/**
|
||||||
expose-spring-macro-helpers: true
|
servlet:
|
||||||
prefer-file-system-access: false
|
multipart:
|
||||||
template-loader-path: classpath:/WEB-INF/manager,classpath:/WEB-INF
|
max-request-size: 100MB
|
||||||
settings:
|
enabled: false
|
||||||
template_update_delay: 1
|
freemarker:
|
||||||
default_encoding: UTF-8
|
suffix: .ftl
|
||||||
classic_compatible: true
|
charset: UTF-8
|
||||||
date_format: yyyy-MM-dd
|
content-type: text/html
|
||||||
time_format: HH:mm:ss
|
allow-request-override: true
|
||||||
datetime_format: yyyy-MM-dd HH:mm:ss
|
allow-session-override: true
|
||||||
auto_import: /include/macro.ftl as ms
|
expose-request-attributes: true
|
||||||
number_format: 0.##
|
expose-session-attributes: true
|
||||||
|
expose-spring-macro-helpers: true
|
||||||
mybatis:
|
prefer-file-system-access: false
|
||||||
mapper-locations: classpath*:**/dao/*.xml
|
template-loader-path: classpath:/WEB-INF/manager,classpath:/WEB-INF
|
||||||
configuration:
|
settings:
|
||||||
|
template_update_delay: 1
|
||||||
|
default_encoding: UTF-8
|
||||||
|
classic_compatible: true
|
||||||
|
date_format: yyyy-MM-dd
|
||||||
|
time_format: HH:mm:ss
|
||||||
|
datetime_format: yyyy-MM-dd HH:mm:ss
|
||||||
|
auto_import: /include/macro.ftl as ms
|
||||||
|
number_format: 0.##
|
||||||
|
|
||||||
|
mybatis:
|
||||||
|
mapper-locations: classpath*:**/dao/*.xml
|
||||||
|
configuration:
|
||||||
database-id: mysql
|
database-id: mysql
|
Loading…
Reference in New Issue