authority 授权

授权模块(springdoc 分组 authority)端点全量清单(75 端点 / 9 资源)。请求规范(鉴权、信封、分页控制字段)见接口规范;逐端点交互调试见 Swagger 视图

数据源:生产域 api-docs(2026-09-14 现场拉取,https://zxs.netbodycamera.com/main-service/v3/api-docs/)。

本页由脚本生成,不可手改,重跑生成器整体覆盖。

permission 权限

方法 路径 说明 详情
POST /main-service/system-api/authority/permission/count count_7 Swagger
GET /main-service/system-api/authority/permission/getById getById_7 Swagger
POST /main-service/system-api/authority/permission/list list_7 Swagger
POST /main-service/system-api/authority/permission/page page_7 Swagger
DELETE /main-service/system-api/authority/permission/removeById removeById_7 Swagger
DELETE /main-service/system-api/authority/permission/removeByIds removeByIds_7 Swagger
POST /main-service/system-api/authority/permission/save save_7 Swagger
PUT /main-service/system-api/authority/permission/updateById updateById_7 Swagger

permission-user 权限与用户关联

方法 路径 说明 详情
POST /main-service/system-api/authority/permission-user/count count_8 Swagger
GET /main-service/system-api/authority/permission-user/getById getById_8 Swagger
POST /main-service/system-api/authority/permission-user/list list_8 Swagger
POST /main-service/system-api/authority/permission-user/page page_8 Swagger
DELETE /main-service/system-api/authority/permission-user/removeById removeById_8 Swagger
DELETE /main-service/system-api/authority/permission-user/removeByIds removeByIds_8 Swagger
POST /main-service/system-api/authority/permission-user/save save_8 Swagger
PUT /main-service/system-api/authority/permission-user/updateById updateById_8 Swagger

role 角色

方法 路径 说明 详情
POST /main-service/system-api/authority/role/count count_3 Swagger
GET /main-service/system-api/authority/role/getById 按资源 ID 读取角色详情 Swagger
POST /main-service/system-api/authority/role/list 按条件读取角色列表 Swagger
POST /main-service/system-api/authority/role/page 按页读取角色列表 Swagger
DELETE /main-service/system-api/authority/role/removeById 删除一个角色 Swagger
DELETE /main-service/system-api/authority/role/removeByIds 一次删除多个角色 Swagger
POST /main-service/system-api/authority/role/save 创建角色 Swagger
PUT /main-service/system-api/authority/role/updateById 更新角色 Swagger

role-org 角色与组织关联

方法 路径 说明 详情
POST /main-service/system-api/authority/role-org/count count_6 Swagger
GET /main-service/system-api/authority/role-org/getById getById_6 Swagger
POST /main-service/system-api/authority/role-org/list list_6 Swagger
POST /main-service/system-api/authority/role-org/page page_6 Swagger
DELETE /main-service/system-api/authority/role-org/removeById removeById_6 Swagger
DELETE /main-service/system-api/authority/role-org/removeByIds removeByIds_6 Swagger
POST /main-service/system-api/authority/role-org/save save_6 Swagger
PUT /main-service/system-api/authority/role-org/updateById updateById_6 Swagger

role-permission 角色与权限关联

方法 路径 说明 详情
POST /main-service/system-api/authority/role-permission/count count_5 Swagger
GET /main-service/system-api/authority/role-permission/getById getById_5 Swagger
POST /main-service/system-api/authority/role-permission/list list_5 Swagger
POST /main-service/system-api/authority/role-permission/page page_5 Swagger
DELETE /main-service/system-api/authority/role-permission/removeById removeById_5 Swagger
DELETE /main-service/system-api/authority/role-permission/removeByIds removeByIds_5 Swagger
POST /main-service/system-api/authority/role-permission/save save_5 Swagger
POST /main-service/system-api/authority/role-permission/saveOrRemoveBatchByRoleId saveOrRemoveBatchByRoleId Swagger
PUT /main-service/system-api/authority/role-permission/updateById updateById_5 Swagger

role-user 角色与用户关联

方法 路径 说明 详情
POST /main-service/system-api/authority/role-user/count count_4 Swagger
GET /main-service/system-api/authority/role-user/getById getById_4 Swagger
POST /main-service/system-api/authority/role-user/list 按条件读取角色—用户关联列表 Swagger
POST /main-service/system-api/authority/role-user/page page_4 Swagger
DELETE /main-service/system-api/authority/role-user/removeById removeById_4 Swagger
DELETE /main-service/system-api/authority/role-user/removeByIds removeByIds_4 Swagger
POST /main-service/system-api/authority/role-user/save save_4 Swagger
PUT /main-service/system-api/authority/role-user/updateById updateById_4 Swagger

user-group 用户组

方法 路径 说明 详情
POST /main-service/system-api/authority/user-group/count count Swagger
GET /main-service/system-api/authority/user-group/getById getById Swagger
POST /main-service/system-api/authority/user-group/list list Swagger
POST /main-service/system-api/authority/user-group/listTree listTree Swagger
POST /main-service/system-api/authority/user-group/page page Swagger
POST /main-service/system-api/authority/user-group/pageTree pageTree Swagger
DELETE /main-service/system-api/authority/user-group/removeById removeById Swagger
DELETE /main-service/system-api/authority/user-group/removeByIds removeByIds Swagger
POST /main-service/system-api/authority/user-group/save save Swagger
PUT /main-service/system-api/authority/user-group/updateById updateById Swagger

user-group-role 用户组与角色关联

方法 路径 说明 详情
POST /main-service/system-api/authority/user-group-role/count count_2 Swagger
GET /main-service/system-api/authority/user-group-role/getById getById_2 Swagger
POST /main-service/system-api/authority/user-group-role/list list_2 Swagger
POST /main-service/system-api/authority/user-group-role/page page_2 Swagger
DELETE /main-service/system-api/authority/user-group-role/removeById removeById_2 Swagger
DELETE /main-service/system-api/authority/user-group-role/removeByIds removeByIds_2 Swagger
POST /main-service/system-api/authority/user-group-role/save save_2 Swagger
PUT /main-service/system-api/authority/user-group-role/updateById updateById_2 Swagger

user-group-user 用户组与用户关联

方法 路径 说明 详情
POST /main-service/system-api/authority/user-group-user/count count_1 Swagger
GET /main-service/system-api/authority/user-group-user/getById getById_1 Swagger
POST /main-service/system-api/authority/user-group-user/list list_1 Swagger
POST /main-service/system-api/authority/user-group-user/page page_1 Swagger
DELETE /main-service/system-api/authority/user-group-user/removeById removeById_1 Swagger
DELETE /main-service/system-api/authority/user-group-user/removeByIds removeByIds_1 Swagger
POST /main-service/system-api/authority/user-group-user/save save_1 Swagger
PUT /main-service/system-api/authority/user-group-user/updateById updateById_1 Swagger