Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-enterprise-base
Overview
Overview
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
base_platform_enterprise
gic-enterprise-base
Commits
5184b06f
Commit
5184b06f
authored
Mar 26, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作模块第一和第二层级修复
parent
4a52cd9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
AuthInterceptor.java
.../java/com/gic/enterprise/interceptor/AuthInterceptor.java
+1
-3
No files found.
gic-enterprise-common/src/main/java/com/gic/enterprise/interceptor/AuthInterceptor.java
View file @
5184b06f
...
@@ -110,9 +110,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
...
@@ -110,9 +110,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
//获取第二层级的页面
//获取第二层级的页面
if
(
menuInfo
.
getLevel
().
intValue
()
>
2
)
{
if
(
menuInfo
.
getLevel
().
intValue
()
>
2
)
{
temp
=
getOperationModule
(
menuInfo
.
getMenuId
(),
tempMap
);
temp
=
getOperationModule
(
menuInfo
.
getMenuId
(),
tempMap
);
log
.
info
(
"接口的菜单信息2:{}"
,
temp
);
while
(
tempMap
.
get
(
temp
.
toString
()).
getLevel
().
intValue
()
!=
2
)
{
while
(
tempMap
.
get
(
temp
.
toString
()).
getLevel
().
intValue
()
!=
2
)
{
log
.
info
(
"接口的菜单信息3:{}"
,
temp
);
temp
=
getOperationModule
(
tempMap
.
get
(
temp
.
toString
()).
getMenuId
(),
tempMap
);
temp
=
getOperationModule
(
tempMap
.
get
(
temp
.
toString
()).
getMenuId
(),
tempMap
);
}
}
}
}
...
@@ -123,7 +121,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
...
@@ -123,7 +121,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
//用于下载文件,跳转到频道页的地址
//用于下载文件,跳转到频道页的地址
String
secondLevelUrl
=
"https://four.gicdev.com"
;
String
secondLevelUrl
=
"https://four.gicdev.com"
;
//如果是第二级的
//如果是第二级的
if
(
menuInfo
.
getLevel
().
intValue
()
==
2
)
{
if
(
tempMap
.
get
(
temp
.
toString
())
.
getLevel
().
intValue
()
==
2
)
{
MenuInfo
secondMenuInfo
=
tempMap
.
get
(
temp
.
toString
());
MenuInfo
secondMenuInfo
=
tempMap
.
get
(
temp
.
toString
());
secondLevelMenuId
=
secondMenuInfo
.
getMenuId
();
secondLevelMenuId
=
secondMenuInfo
.
getMenuId
();
secondLevelMenuName
=
secondMenuInfo
.
getMenuName
();
secondLevelMenuName
=
secondMenuInfo
.
getMenuName
();
...
...
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