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
03e2ac9b
Commit
03e2ac9b
authored
Mar 02, 2019
by
ms group dev
Browse files
优化配置
parent
d9175124
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/resources/application-dev.yml
View file @
03e2ac9b
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://localhost:3306/db-mcms?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
url
:
jdbc:mysql://localhost:3306/db-mcms
-open
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username
:
root
username
:
root
password
:
root
password
:
root
filters
:
wall,mergeStat
filters
:
wall,mergeStat
...
...
src/main/resources/application-test.yml
View file @
03e2ac9b
mcms4.7.0 Oracle数据库暂不支持
spring
:
\ No newline at end of file
datasource
:
url
:
jdbc:mysql://localhost:3306/db-mcms-open?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username
:
root
password
:
root
filters
:
wall,mergeStat
type
:
com.alibaba.druid.pool.DruidDataSource
\ No newline at end of file
src/main/resources/application.yml
View file @
03e2ac9b
server
:
server
:
port
:
8080
port
:
8080
servlet.context-path
:
/ms-mcms
servlet.context-path
:
/ms-mcms
servlet.session.timeout
:
60M
logging
:
logging
:
level
:
level
:
...
@@ -9,9 +10,6 @@ ms:
...
@@ -9,9 +10,6 @@ ms:
manager
:
manager
:
path
:
/ms
path
:
/ms
view-path
:
/WEB-INF/manager
view-path
:
/WEB-INF/manager
session
:
timeout
:
1800000
validation-interval
:
120000
upload
:
upload
:
path
:
/upload
path
:
/upload
...
...
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