Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
7794dc6f
Commit
7794dc6f
authored
Jun 05, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运维用户部门职位数据
parent
c10eb46c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
pom.xml
gic-platform-operation-web/pom.xml
+5
-0
MenuController.java
...java/com/gic/operation/web/controller/MenuController.java
+12
-0
dubbo-gic-platform-operation-web.xml
...b/src/main/resources/dubbo-gic-platform-operation-web.xml
+3
-0
No files found.
gic-platform-operation-web/pom.xml
View file @
7794dc6f
...
...
@@ -188,6 +188,11 @@
<artifactId>
rule-manage-api
</artifactId>
<version>
${rule-manage-api}
</version>
</dependency>
<dependency>
<groupId>
com.gic.authcenter
</groupId>
<artifactId>
gic-authcenter-api
</artifactId>
<version>
${gic-authcenter-api}
</version>
</dependency>
</dependencies>
<dependencyManagement>
...
...
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/MenuController.java
View file @
7794dc6f
...
...
@@ -3,6 +3,7 @@ package com.gic.operation.web.controller;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
com.gic.authcenter.api.service.GicDepartmentService
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
...
...
@@ -43,12 +44,23 @@ public class MenuController {
private
MenuItemApiService
menuItemApiService
;
@Autowired
private
ServeApiService
serveApiService
;
@Autowired
private
GicDepartmentService
gicDepartmentService
;
@RequestMapping
(
"/sync-product-menu"
)
public
RestResponse
syncProductMenu
(
String
menuCode
)
{
return
RestResponse
.
success
();
}
/**
* 运维用户部门职位数据
* @return
*/
@RequestMapping
(
"/list-depart"
)
public
RestResponse
listDepart
()
{
return
RestResponse
.
success
(
gicDepartmentService
.
listAllGicDepartment
());
}
/**
* 新增GIC页面
...
...
gic-platform-operation-web/src/main/resources/dubbo-gic-platform-operation-web.xml
View file @
7794dc6f
...
...
@@ -89,4 +89,6 @@
<dubbo:reference
interface=
"com.gic.mq.sdk.service.MQConfigService"
id=
"mQConfigService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.mq.sdk.service.MQStatusService"
id=
"mQStatusService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.mall.share.api.service.PayConfigApiService"
id=
"payConfigApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.authcenter.api.service.GicDepartmentService"
id=
"gicDepartmentService"
timeout=
"6000"
/>
</beans>
\ No newline at end of file
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