Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
c611cff6
Commit
c611cff6
authored
Jan 17, 2019
by
ms-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置更新
parent
4633c2be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
69 deletions
+60
-69
application.yml
src/main/resources/application.yml
+60
-69
No files found.
src/main/resources/application.yml
View file @
c611cff6
#服务配置
server
:
#端口
port
:
8080
#项目名称
servlet.context-path
:
/ms-mcms
# slf4j日志配置
logging
:
# 配置级别
level
:
#分包配置级别,即不同的目录下可以使用不同的级别
net.mingsoft
:
trace
#铭飞配置
ms
:
manager
:
path
:
/ms
view-path
:
/WEB-INF/manager
#session配置
session
:
timeout
:
1800000
#会话超时, 单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms
validation-interval
:
120000
#会话清理间隔时间, 单位:毫秒,2m=120000ms
#上传配置
upload
:
path
:
/upload
denied
:
exe
allowed
:
jpg
max-size
:
1
memory-size
:
4096
#spring配置
spring
:
profiles
:
active
:
dev
mvc
:
pathmatch
:
use-suffix-pattern
:
true
devtools
:
restart
:
enabled
:
true
additional-paths
:
src/main/java
exclude
:
static/**,WEB-INF/**
servlet
:
multipart
:
max-request-size
:
100MB
freemarker
:
suffix
:
.ftl
charset
:
UTF-8
content-type
:
text/html
allow-request-override
:
true
allow-session-override
:
true
expose-request-attributes
:
true
expose-session-attributes
:
true
expose-spring-macro-helpers
:
true
prefer-file-system-access
:
false
template-loader-path
:
classpath:/WEB-INF/manager
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
mybatis
:
mapper-locations
:
classpath*:**/dao/*.xml
configuration
:
server
:
port
:
8080
servlet.context-path
:
/ms-mcms
logging
:
level
:
net.mingsoft
:
trace
ms
:
manager
:
path
:
/ms
view-path
:
/WEB-INF/manager
session
:
timeout
:
1800000
validation-interval
:
120000
upload
:
path
:
/upload
denied
:
exe
allowed
:
jpg
max-size
:
1
memory-size
:
4096
spring
:
profiles
:
active
:
dev
mvc
:
pathmatch
:
use-suffix-pattern
:
true
devtools
:
restart
:
enabled
:
true
additional-paths
:
src/main/java
exclude
:
static/**,WEB-INF/**
servlet
:
multipart
:
max-request-size
:
100MB
freemarker
:
suffix
:
.ftl
charset
:
UTF-8
content-type
:
text/html
allow-request-override
:
true
allow-session-override
:
true
expose-request-attributes
:
true
expose-session-attributes
:
true
expose-spring-macro-helpers
:
true
prefer-file-system-access
:
false
template-loader-path
:
classpath:/WEB-INF/manager
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
mybatis
:
mapper-locations
:
classpath*:**/dao/*.xml
configuration
:
database-id
:
mysql
\ No newline at end of file
Write
Preview
Markdown
is supported
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