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
a7380c36
Commit
a7380c36
authored
Nov 06, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
协作人详情添加字段:资源组
parent
4bd83e95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletions
+25
-1
CollaboratorDTO.java
...h-api/src/main/java/com/gic/auth/dto/CollaboratorDTO.java
+23
-0
CollaboratorApiService.java
...ain/java/com/gic/auth/service/CollaboratorApiService.java
+2
-1
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/dto/CollaboratorDTO.java
View file @
a7380c36
...
...
@@ -73,6 +73,11 @@ public class CollaboratorDTO implements Serializable{
private
String
creator
;
/**
* 资源组ids,可以多选,_隔开,类似_1_2_'
*/
private
String
resourceIds
;
/**
* 子应用ids,可以多选,用_隔开_2_3_
*/
private
String
subAppIds
;
...
...
@@ -96,6 +101,8 @@ public class CollaboratorDTO implements Serializable{
private
List
<
Integer
>
menuIdList
;
private
List
<
Integer
>
resourceIdList
;
public
Integer
getCollaboratorId
()
{
return
collaboratorId
;
}
...
...
@@ -215,4 +222,20 @@ public class CollaboratorDTO implements Serializable{
public
void
setCollaborationEnterpriseName
(
String
collaborationEnterpriseName
)
{
this
.
collaborationEnterpriseName
=
collaborationEnterpriseName
;
}
public
String
getResourceIds
()
{
return
resourceIds
;
}
public
void
setResourceIds
(
String
resourceIds
)
{
this
.
resourceIds
=
resourceIds
;
}
public
List
<
Integer
>
getResourceIdList
()
{
return
resourceIdList
;
}
public
void
setResourceIdList
(
List
<
Integer
>
resourceIdList
)
{
this
.
resourceIdList
=
resourceIdList
;
}
}
gic-platform-auth-api/src/main/java/com/gic/auth/service/CollaboratorApiService.java
View file @
a7380c36
...
...
@@ -76,10 +76,11 @@ public interface CollaboratorApiService {
* @author guojuxing
* @param subAppIds 子应用ID,英文逗号隔开
* @param menuIds 操作权限ID,英文逗号隔开
* @param resourcesIds 资源组ID,英文逗号隔开
* @param collaboratorId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
auth
(
String
subAppIds
,
String
menuIds
,
Integer
collaboratorId
);
ServiceResponse
<
Void
>
auth
(
String
subAppIds
,
String
menuIds
,
String
resourcesIds
,
Integer
collaboratorId
);
/**
* 取消
...
...
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