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
2d7e4ab3
Commit
2d7e4ab3
authored
Jun 17, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
恢复接口 See merge request
!15
parents
1b85a07c
62a619a0
Hide 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 @
2d7e4ab3
...
...
@@ -164,6 +164,13 @@ public interface MenuApiService {
ServiceResponse
<
List
<
MenuDTO
>>
getAllMenuNotTree
(
String
versionCode
);
/**
* 运维处使用
* @param enterpriseId
* @return
*/
ServiceResponse
<
List
<
MenuDTO
>>
getSuperAdminMenuNotTree
(
Integer
enterpriseId
);
/**
* 查询gic菜单页面树数据
* @Title: listMenuTree
* @Description:
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
View file @
2d7e4ab3
...
...
@@ -249,6 +249,16 @@ public class MenuApiServiceImpl implements MenuApiService {
}
@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
)
{
if
(
params
.
getIsGIC
()
==
null
)
{
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