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
c611cff6
"...src/main/resources/template/admin/Service.ftl" did not exist on "d1777411bfd010546a2b0c1da790ed2a4fac458f"
Commit
c611cff6
authored
Jan 17, 2019
by
ms-dev
Browse files
配置更新
parent
4633c2be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/application.yml
View file @
c611cff6
#服务配置
server
:
server
:
port
:
8080
#端口
servlet.context-path
:
/ms-mcms
port
:
8080
#项目名称
logging
:
servlet.context-path
:
/ms-mcms
level
:
net.mingsoft
:
trace
# slf4j日志配置
ms
:
logging
:
manager
:
# 配置级别
path
:
/ms
level
:
view-path
:
/WEB-INF/manager
#分包配置级别,即不同的目录下可以使用不同的级别
session
:
net.mingsoft
:
trace
timeout
:
1800000
#铭飞配置
validation-interval
:
120000
ms
:
manager
:
upload
:
path
:
/ms
path
:
/upload
view-path
:
/WEB-INF/manager
denied
:
exe
#session配置
allowed
:
jpg
session
:
max-size
:
1
timeout
:
1800000
#会话超时, 单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms
memory-size
:
4096
validation-interval
:
120000
#会话清理间隔时间, 单位:毫秒,2m=120000ms
spring
:
#上传配置
profiles
:
upload
:
active
:
dev
path
:
/upload
mvc
:
denied
:
exe
pathmatch
:
allowed
:
jpg
use-suffix-pattern
:
true
max-size
:
1
devtools
:
memory-size
:
4096
restart
:
enabled
:
true
#spring配置
additional-paths
:
src/main/java
spring
:
exclude
:
static/**,WEB-INF/**
profiles
:
servlet
:
active
:
dev
multipart
:
mvc
:
max-request-size
:
100MB
pathmatch
:
freemarker
:
use-suffix-pattern
:
true
suffix
:
.ftl
devtools
:
charset
:
UTF-8
restart
:
content-type
:
text/html
enabled
:
true
allow-request-override
:
true
additional-paths
:
src/main/java
allow-session-override
:
true
exclude
:
static/**,WEB-INF/**
expose-request-attributes
:
true
servlet
:
expose-session-attributes
:
true
multipart
:
expose-spring-macro-helpers
:
true
max-request-size
:
100MB
prefer-file-system-access
:
false
freemarker
:
template-loader-path
:
classpath:/WEB-INF/manager
suffix
:
.ftl
settings
:
charset
:
UTF-8
template_update_delay
:
1
content-type
:
text/html
default_encoding
:
UTF-8
allow-request-override
:
true
classic_compatible
:
true
allow-session-override
:
true
date_format
:
yyyy-MM-dd
expose-request-attributes
:
true
time_format
:
HH:mm:ss
expose-session-attributes
:
true
datetime_format
:
yyyy-MM-dd HH:mm:ss
expose-spring-macro-helpers
:
true
auto_import
:
/include/macro.ftl as ms
prefer-file-system-access
:
false
template-loader-path
:
classpath:/WEB-INF/manager
mybatis
:
settings
:
mapper-locations
:
classpath*:**/dao/*.xml
template_update_delay
:
1
configuration
:
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
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