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
Eladmin
Commits
766c2189
Commit
766c2189
authored
Dec 23, 2018
by
郑杰
Browse files
update menu
parent
9aa07b1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/me/zhengjie/system/service/impl/MenuServiceImpl.java
View file @
766c2189
...
...
@@ -62,10 +62,13 @@ public class MenuServiceImpl implements MenuService {
}
menu
.
setName
(
resources
.
getName
());
menu
.
setComponent
(
resources
.
getComponent
());
menu
.
setPath
(
resources
.
getPath
());
menu
.
setIcon
(
resources
.
getIcon
());
menu
.
setIFrame
(
resources
.
getIFrame
());
menu
.
setPid
(
resources
.
getPid
());
menu
.
setSoft
(
resources
.
getSoft
());
menu
.
setRoles
(
resources
.
getRoles
());
menuRepository
.
save
(
menu
);
}
...
...
src/main/resources/application.yml
View file @
766c2189
...
...
@@ -7,9 +7,9 @@ spring:
druid
:
type
:
com.alibaba.druid.pool.DruidDataSource
driverClassName
:
net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url
:
jdbc:log4jdbc:mysql://
118.25.192.171
:3306/eladmin?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
url
:
jdbc:log4jdbc:mysql://
localhost
:3306/eladmin?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
username
:
root
password
:
Aurora@zj@.
password
:
123456
# 初始化连接大小
initial-size
:
5
...
...
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