Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
bcf4b054
Commit
bcf4b054
authored
Sep 30, 2019
by
sgjj
Browse files
文件配置
parent
b5ba1bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/application.yml
View file @
bcf4b054
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
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment