Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
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
曲欣亮
member-api
Commits
65280aef
Commit
65280aef
authored
Nov 23, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
de1faf49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
AdminAuthServiceImpl.java
...olm/film/api/admin/service/impl/AdminAuthServiceImpl.java
+7
-0
No files found.
src/main/java/com/egolm/film/api/admin/service/impl/AdminAuthServiceImpl.java
View file @
65280aef
...
...
@@ -72,6 +72,13 @@ public class AdminAuthServiceImpl implements AdminAuthService {
for
(
Map
<
String
,
Object
>
map
:
list
)
{
Number
menu_id
=
(
Number
)
map
.
get
(
"menu_id"
);
Number
parent_id
=
(
Number
)
map
.
get
(
"parent_id"
);
Number
group_id
=
(
Number
)
map
.
get
(
"group_id"
);
if
(
group_id
!=
null
)
{
map
.
put
(
"is_show"
,
true
);
}
else
{
map
.
put
(
"menu_no"
,
null
);
map
.
put
(
"menu_link"
,
null
);
}
if
((
id
==
null
&&
parent_id
==
null
)
||
(
id
.
intValue
()
==
parent_id
.
intValue
()))
{
Number
menu_type
=
(
Number
)
map
.
get
(
"menu_type"
);
if
(
menu_type
.
intValue
()
==
0
||
menu_type
.
intValue
()
==
1
)
{
...
...
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