public interface RoleService
Description:
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accountRoleConfig(Long accountId,
List<Long> roleIds)
为账号配置角色
|
List<AdminRole> |
accountRoles(Long accountId)
账号下的角色列表
|
Long |
addRole(AdminRole role) |
List<AdminRole> |
all()
获取所有的
|
void |
auth(List<Long> authIds,
Long roleId)
为角色配置权限
|
List<AdminRole> |
pageRole(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel query)
分页查角色列表
|
void |
remove(List<Long> roleIds)
删除角色
|
long |
totalRole(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel query)
角色总数
|
void |
updateRole(AdminRoleUpdate role)
修改角色信息
|
List<AdminRole> pageRole(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel query)
query - querylong totalRole(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel query)
query - queryvoid updateRole(AdminRoleUpdate role)
role - roleParamList<AdminRole> accountRoles(Long accountId)
accountId - accountIdCopyright © 2021. All rights reserved.