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
JeeSpringCloudV3.0
Commits
7ebac391
Commit
7ebac391
authored
Nov 12, 2018
by
Huang
Browse files
no commit message
parent
d5ba54ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/src/main/resources/application.yml
View file @
7ebac391
...
@@ -54,9 +54,13 @@ spring:
...
@@ -54,9 +54,13 @@ spring:
#url: http://localhost:8999
#url: http://localhost:8999
#数据库的配置
#数据库的配置
datasource
:
datasource
:
driverClassName
:
com.mysql.jdbc.Driver
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
#mysql
driverClassName
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://127.0.0.1:3306/jeespring?useUnicode=true&characterEncoding=utf-8
url
:
jdbc:mysql://127.0.0.1:3306/jeespring?useUnicode=true&characterEncoding=utf-8
#oracle
#driverClassName: oracle.jdbc.driver.OracleDriver
#jdbc:oracle:thin:@127.0.0.1:1521:orcl
username
:
root
username
:
root
password
:
root
password
:
root
# 下面为连接池的补充设置,应用到上面所有数据源中
# 下面为连接池的补充设置,应用到上面所有数据源中
...
@@ -112,6 +116,7 @@ spring:
...
@@ -112,6 +116,7 @@ spring:
listFlush
:
true
#list记录根据添加修改删除自动清除
listFlush
:
true
#list记录根据添加修改删除自动清除
expireTime
:
900
#缓存有效时间15分钟
expireTime
:
900
#缓存有效时间15分钟
expireTimeShiro
:
1800
#缓存有效时间30分钟
expireTimeShiro
:
1800
#缓存有效时间30分钟
######################################### 使用activemq队列是,取消下面注解
activemq
:
activemq
:
broker-url
:
tcp://localhost:61616
broker-url
:
tcp://localhost:61616
in-memory
:
true
# Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified.
in-memory
:
true
# Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified.
...
@@ -129,7 +134,7 @@ spring:
...
@@ -129,7 +134,7 @@ spring:
#mybatis的配置
#mybatis的配置
mybatis
:
mybatis
:
config-location
:
classpath:/mybatis-config.xml
config-location
:
classpath:/mybatis-config.xml
mapper-locations
:
classpath:/mappings/**/*.xml
mapper-locations
:
classpath
*
:/mappings/**/*.xml
type-aliases-package
:
com.jeespring,com.company
type-aliases-package
:
com.jeespring,com.company
#admin页面管理Path
#admin页面管理Path
adminPath
:
/admin
adminPath
:
/admin
...
...
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