Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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-platform-auth
Commits
62a619a0
Commit
62a619a0
authored
Jun 16, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复接口
parent
1956a3ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
MenuApiService.java
...pi/src/main/java/com/gic/auth/service/MenuApiService.java
+7
-0
MenuApiServiceImpl.java
...a/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
+10
-0
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/service/MenuApiService.java
View file @
62a619a0
...
@@ -164,6 +164,13 @@ public interface MenuApiService {
...
@@ -164,6 +164,13 @@ public interface MenuApiService {
ServiceResponse
<
List
<
MenuDTO
>>
getAllMenuNotTree
(
String
versionCode
);
ServiceResponse
<
List
<
MenuDTO
>>
getAllMenuNotTree
(
String
versionCode
);
/**
/**
* 运维处使用
* @param enterpriseId
* @return
*/
ServiceResponse
<
List
<
MenuDTO
>>
getSuperAdminMenuNotTree
(
Integer
enterpriseId
);
/**
* 查询gic菜单页面树数据
* 查询gic菜单页面树数据
* @Title: listMenuTree
* @Title: listMenuTree
* @Description:
* @Description:
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
View file @
62a619a0
...
@@ -249,6 +249,16 @@ public class MenuApiServiceImpl implements MenuApiService {
...
@@ -249,6 +249,16 @@ public class MenuApiServiceImpl implements MenuApiService {
}
}
@Override
@Override
public
ServiceResponse
<
List
<
MenuDTO
>>
getSuperAdminMenuNotTree
(
Integer
enterpriseId
)
{
ServiceResponse
<
EnterpriseDTO
>
result
=
enterpriseApiService
.
getEnterpriseById
(
enterpriseId
);
if
(
result
.
isSuccess
())
{
String
versionCode
=
result
.
getResult
().
getVersionCode
();
return
getAllMenuNotTree
(
versionCode
);
}
return
ServiceResponse
.
failure
(
result
.
getCode
(),
result
.
getMessage
());
}
@Override
public
ServiceResponse
<
List
<
MenuDTO
>>
listMenuTree
(
MenuListQO
params
)
{
public
ServiceResponse
<
List
<
MenuDTO
>>
listMenuTree
(
MenuListQO
params
)
{
if
(
params
.
getIsGIC
()
==
null
)
{
if
(
params
.
getIsGIC
()
==
null
)
{
params
.
setIsGIC
(
MenuProjectConstants
.
DEFAULT_PROJECT_CODE
);
params
.
setIsGIC
(
MenuProjectConstants
.
DEFAULT_PROJECT_CODE
);
...
...
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