public interface GroupService
| 限定符和类型 | 字段和说明 |
|---|---|
static GroupService |
ins |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(Group group)
添加Group对象
|
void |
addGroupUser(String groupId,
String account)
添加团队用户
|
Group |
get(String groupId)
获取Group对象
|
boolean |
isFreeCreate(String account)
是否开放团队创建
|
void |
remove(String groupId)
删除团队对象
|
void |
removeGroupUser(String groupId,
String account)
删除团队用户,并清理用户对应的角色配置信息
|
static final GroupService ins
void add(Group group)
group - 团队对象void remove(String groupId)
groupId - 团队IDvoid addGroupUser(String groupId, String account)
groupId - 团队IDaccount - 用户账号void removeGroupUser(String groupId, String account)
groupId - 团队IDaccount - 用户账号boolean isFreeCreate(String account)
account - 用户账号Copyright © 2023 Bstek. All rights reserved.