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
cdf87bff
Commit
cdf87bff
authored
Sep 20, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增操作项:同步生成权限项
parent
7a9e46e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
MenuDTO.java
...form-auth-api/src/main/java/com/gic/auth/dto/MenuDTO.java
+12
-0
MenuApiService.java
...pi/src/main/java/com/gic/auth/service/MenuApiService.java
+6
-6
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/dto/MenuDTO.java
View file @
cdf87bff
...
...
@@ -156,6 +156,10 @@ public class MenuDTO implements Serializable {
private
String
menuVersionName
;
private
List
<
MenuDTO
>
children
;
/**
* 是否需要同步生成权限项(新增操作项的时候的可选项)
*/
private
boolean
needCreateAuthItem
;
public
Integer
getMenuId
()
{
return
menuId
;
...
...
@@ -292,4 +296,12 @@ public class MenuDTO implements Serializable {
public
void
setMenuVersionName
(
String
menuVersionName
)
{
this
.
menuVersionName
=
menuVersionName
;
}
public
boolean
isNeedCreateAuthItem
()
{
return
needCreateAuthItem
;
}
public
void
setNeedCreateAuthItem
(
boolean
needCreateAuthItem
)
{
this
.
needCreateAuthItem
=
needCreateAuthItem
;
}
}
gic-platform-auth-api/src/main/java/com/gic/auth/service/MenuApiService.java
View file @
cdf87bff
...
...
@@ -86,9 +86,9 @@ public interface MenuApiService {
* @Description:
* @author guojuxing
* @param menuDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void
>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Integer
>
*/
ServiceResponse
<
Void
>
saveGICChildPage
(
MenuDTO
menuDTO
);
ServiceResponse
<
Integer
>
saveGICChildPage
(
MenuDTO
menuDTO
);
/**
* 编辑gic子页面
...
...
@@ -114,9 +114,9 @@ public interface MenuApiService {
* @Description:
* @author guojuxing
* @param menuDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void
>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Integer
>
*/
ServiceResponse
<
Void
>
saveAppChildPage
(
MenuDTO
menuDTO
);
ServiceResponse
<
Integer
>
saveAppChildPage
(
MenuDTO
menuDTO
);
/**
* 编辑应用子页面
* @Title: updateAppChildPage
...
...
@@ -144,9 +144,9 @@ public interface MenuApiService {
* @Description:
* @author guojuxing
* @param menuDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Void
>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.
Integer
>
*/
ServiceResponse
<
Void
>
saveOperationItem
(
MenuDTO
menuDTO
);
ServiceResponse
<
Integer
>
saveOperationItem
(
MenuDTO
menuDTO
);
/**
* 编辑操作项
...
...
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