Documentation ¶
Index ¶
- func CreateEnterprisePermissionGroup(c *gin.Context)
- func CreateEnterprisePermissionGroupPermission(c *gin.Context)
- func CreateEnterpriseRole(c *gin.Context)
- func CreateEnterpriseRoleGroup(c *gin.Context)
- func CreateEnterpriseRoleGroupPermission(c *gin.Context)
- func CreateEnterpriseRolePermission(c *gin.Context)
- func CreateEnterpriseUserPermission(c *gin.Context)
- func CreateInterfaceResource(c *gin.Context)
- func CreateMenuResource(c *gin.Context)
- func CreatePageInterface(c *gin.Context)
- func CreatePageResource(c *gin.Context)
- func CreatePermission(c *gin.Context)
- func CreatePermissionGroup(c *gin.Context)
- func CreatePermissionGroupPermission(c *gin.Context)
- func CreateRole(c *gin.Context)
- func CreateRoleGroup(c *gin.Context)
- func CreateRoleGroupPermission(c *gin.Context)
- func CreateRolePermission(c *gin.Context)
- func CreateUserPermission(c *gin.Context)
- func DeleteEnterprisePermissionGroup(c *gin.Context)
- func DeleteEnterprisePermissionGroupPermission(c *gin.Context)
- func DeleteEnterpriseRole(c *gin.Context)
- func DeleteEnterpriseRoleGroup(c *gin.Context)
- func DeleteEnterpriseRoleGroupPermission(c *gin.Context)
- func DeleteEnterpriseRolePermission(c *gin.Context)
- func DeleteEnterpriseUserPermission(c *gin.Context)
- func DeleteInterfaceResource(c *gin.Context)
- func DeleteMenuResource(c *gin.Context)
- func DeletePageInterface(c *gin.Context)
- func DeletePageResource(c *gin.Context)
- func DeletePermission(c *gin.Context)
- func DeletePermissionGroup(c *gin.Context)
- func DeletePermissionGroupPermission(c *gin.Context)
- func DeleteRole(c *gin.Context)
- func DeleteRoleGroup(c *gin.Context)
- func DeleteRoleGroupPermission(c *gin.Context)
- func DeleteRolePermission(c *gin.Context)
- func DeleteUserPermission(c *gin.Context)
- func GetEnterpriseUserAllPermissionByUserPk(c *gin.Context)
- func GetEnterpriseUserRoleAndRoleGroupByUserPKAndEnterprisePk(c *gin.Context)
- func GetTenantPermission(c *gin.Context)
- func GetUserAllPermissionByUserPk(c *gin.Context)
- func GetUserPermissionByUserPkAndEnterprisePkForRedis(c *gin.Context)
- func GetUserRoleAndRoleGroupByUserPKAndEnterprisePk(c *gin.Context)
- func Load(r *gin.RouterGroup)
- func SelectAllMenuWithDetail(c *gin.Context)
- func SelectEnterprisePermissionGroup(c *gin.Context)
- func SelectEnterpriseRole(c *gin.Context)
- func SelectEnterpriseRoleGroup(c *gin.Context)
- func SelectEnterpriseRoleGroupUser(c *gin.Context)
- func SelectEnterpriseRoleUser(c *gin.Context)
- func SelectInterfaceResource(c *gin.Context)
- func SelectPageInterfaceDetailMessage(c *gin.Context)
- func SelectPermission(c *gin.Context)
- func SelectPermissionGroup(c *gin.Context)
- func SelectRole(c *gin.Context)
- func SelectRoleGroup(c *gin.Context)
- func SelectRoleGroupUser(c *gin.Context)
- func SelectRoleUser(c *gin.Context)
- func UpdateInterfaceResource(c *gin.Context)
- func UpdateMenuResource(c *gin.Context)
- func UpdatePageResource(c *gin.Context)
- func UpdaterEnterprisePermissionGroup(c *gin.Context)
- func UpdaterEnterpriseRole(c *gin.Context)
- func UpdaterEnterpriseRoleGroup(c *gin.Context)
- func UpdaterPermission(c *gin.Context)
- func UpdaterPermissionGroup(c *gin.Context)
- func UpdaterRole(c *gin.Context)
- func UpdaterRoleGroup(c *gin.Context)
- type CreateInterfaceResourceReq
- type CreateMenuResourceReq
- type CreatePageInterfaceReq
- type CreatePageResourceReq
- type CreatePermissionGroupPermissionReq
- type CreatePermissionGroupReq
- type CreatePermissionReq
- type CreateRoleGroupPermissionReq
- type CreateRoleGroupReq
- type CreateRolePermissionReq
- type CreateRoleReq
- type CreateUserPermissionReq
- type DeleteReq
- type EnterpriseUserPermissionQueryBody
- type GetPermissionGroupReq
- type GetPermissionReq
- type GetRoleGroupReq
- type GetRoleGroupUserReq
- type GetRoleReq
- type GetRoleUserReq
- type GetUserPermissionReq
- type InterfaceResourceQueryBody
- type MenuResourceQueryBody
- type PageQfqz
- type PageResourceQueryBody
- type Pagination
- type PermissionGroupQueryBody
- type PermissionListQueryBody
- type PermissionQueryBody
- type PostPermissionGroupPermissionReq
- type PostPermissionGroupReq
- type PostRoleGroupPermissionReq
- type PostRoleGroupReq
- type PostRolePermissionReq
- type PostRoleReq
- type PostUserPermissionReq
- type PutPermissionGroupReq
- type PutRoleGroupReq
- type PutRoleReq
- type RoleGroupQueryBody
- type RoleGroupUserQueryBody
- type RoleQueryBody
- type RoleUserQueryBody
- type UpdateInterfaceResourceReq
- type UpdateMenuResourceReq
- type UpdatePageResourceReq
- type UpdaterPermissionGroupReq
- type UpdaterPermissionReq
- type UpdaterRoleGroupReq
- type UpdaterRoleReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEnterprisePermissionGroup ¶
CreateEnterprisePermissionGroup @Tags open-apis/core @summary 新增权限组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostPermissionGroupReq true "请求参数体" @Router /open-apis/core/rbac/tenant/permission/group [post]
func CreateEnterprisePermissionGroupPermission ¶
CreateEnterprisePermissionGroupPermission @Tags open-apis/core @summary 新增权限组关联(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostPermissionGroupPermissionReq true "请求参数体" @Router /open-apis/core/rbac/tenant/permission/group/permission [post]
func CreateEnterpriseRole ¶
CreateEnterpriseRole @Tags open-apis/core @summary 新增角色(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostRoleReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role [post]
func CreateEnterpriseRoleGroup ¶
CreateEnterpriseRoleGroup @Tags open-apis/core @summary 新增角色组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostRoleGroupReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/group [post]
func CreateEnterpriseRoleGroupPermission ¶
CreateEnterpriseRoleGroupPermission @Tags open-apis/core @summary 新增角色组与权限关联关系(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostRoleGroupPermissionReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/group/permission [post]
func CreateEnterpriseRolePermission ¶
CreateEnterpriseRolePermission @Tags open-apis/core @summary 新增角色与权限关联关系(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostRolePermissionReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/permission [post]
func CreateEnterpriseUserPermission ¶
CreateEnterpriseUserPermission @Tags open-apis/core @summary 新增人与权限关联(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PostUserPermissionReq true "请求参数体" @Router /open-apis/core/rbac/tenant/user/permission [post]
func CreateInterfaceResource ¶
CreateInterfaceResource @Tags open-apis/core @summary 新增接口信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateInterfaceResourceReq true "请求参数体" @Router /open-apis/core/rbac/resource/interface [post]
func CreateMenuResource ¶
CreateMenuResource @Tags open-apis/core @summary 新增菜单信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateMenuResourceReq true "请求参数体" @Router /open-apis/core/rbac/resource/menu [post]
func CreatePageInterface ¶
CreatePageInterface @Tags open-apis/core @summary 新增页面资源与接口关联(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreatePageInterfaceReq true "请求参数体" @Router /open-apis/core/rbac/resource/page/interface [post]
func CreatePageResource ¶
CreatePageResource @Tags open-apis/core @summary 新增页面资源(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreatePageResourceReq true "请求参数体" @Router /open-apis/core/rbac/resource/page [post]
func CreatePermission ¶
CreatePermission @Tags open-apis/core @summary 新增权限项(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreatePermissionReq true "请求参数体" @Router /open-apis/core/rbac/system/permission [post]
func CreatePermissionGroup ¶
CreatePermissionGroup @Tags open-apis/core @summary 新增权限组(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreatePermissionGroupReq true "请求参数体" @Router /open-apis/core/rbac/system/permission/group [post]
func CreatePermissionGroupPermission ¶
CreatePermissionGroupPermission @Tags open-apis/core @summary 新增权限组关联(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreatePermissionGroupPermissionReq true "请求参数体" @Router /open-apis/core/rbac/system/permission/group/permission [post]
func CreateRole ¶
CreateRole @Tags open-apis/core @summary 新增角色(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateRoleReq true "请求参数体" @Router /open-apis/core/rbac/system/role [post]
func CreateRoleGroup ¶
CreateRoleGroup @Tags open-apis/core @summary 新增角色组(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateRoleGroupReq true "请求参数体" @Router /open-apis/core/rbac/system/role/group [post]
func CreateRoleGroupPermission ¶
CreateRoleGroupPermission @Tags open-apis/core @summary 新增角色组与权限关联关系(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateRoleGroupPermissionReq true "请求参数体" @Router /open-apis/core/rbac/system/role/group/permission [post]
func CreateRolePermission ¶
CreateRolePermission @Tags open-apis/core @summary 新增角色与权限关联关系(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateRolePermissionReq true "请求参数体" @Router /open-apis/core/rbac/system/role/permission [post]
func CreateUserPermission ¶
CreateUserPermission @Tags open-apis/core @summary 新增人与权限关联(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateUserPermissionReq true "请求参数体" @Router /open-apis/core/rbac/system/user/permission [post]
func DeleteEnterprisePermissionGroup ¶
DeleteEnterprisePermissionGroup @Tags open-apis/core @summary 删除权限组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/permission/group [delete]
func DeleteEnterprisePermissionGroupPermission ¶
DeleteEnterprisePermissionGroupPermission @Tags open-apis/core @summary 删除权限组关联关系(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/permission/group/permission [delete]
func DeleteEnterpriseRole ¶
DeleteEnterpriseRole @Tags open-apis/core @summary 删除角色(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role [delete]
func DeleteEnterpriseRoleGroup ¶
DeleteEnterpriseRoleGroup @Tags open-apis/core @summary 删除角色组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/group [delete]
func DeleteEnterpriseRoleGroupPermission ¶
DeleteEnterpriseRoleGroupPermission @Tags open-apis/core @summary 删除角色组与权限关联关系(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/group/permission [delete]
func DeleteEnterpriseRolePermission ¶
DeleteEnterpriseRolePermission @Tags open-apis/core @summary 删除角色与权限关联关系(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/permission [delete]
func DeleteEnterpriseUserPermission ¶
DeleteEnterpriseUserPermission @Tags open-apis/core @summary 删除人与权限关联(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/tenant/user/permission [delete]
func DeleteInterfaceResource ¶
DeleteInterfaceResource @Tags open-apis/core @summary 删除接口信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/resource/interface [delete]
func DeleteMenuResource ¶
DeleteMenuResource @Tags open-apis/core @summary 删除菜单信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/resource/menu [delete]
func DeletePageInterface ¶
DeletePageInterface @Tags open-apis/core @summary 删除页面资源与接口关联关系(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/resource/page/interface [delete]
func DeletePageResource ¶
DeletePageResource @Tags open-apis/core @summary 删除页面资源(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/resource/page [delete]
func DeletePermission ¶
DeletePermission @Tags open-apis/core @summary 删除权限项(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/permission [delete]
func DeletePermissionGroup ¶
DeletePermissionGroup @Tags open-apis/core @summary 删除权限组(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/permission/group [delete]
func DeletePermissionGroupPermission ¶
DeletePermissionGroupPermission @Tags open-apis/core @summary 删除权限组关联关系(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/permission/group/permission [delete]
func DeleteRole ¶
DeleteRole @Tags open-apis/core @summary 删除角色(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/role [delete]
func DeleteRoleGroup ¶
DeleteRoleGroup @Tags open-apis/core @summary 删除角色组(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/role/group [delete]
func DeleteRoleGroupPermission ¶
DeleteRoleGroupPermission @Tags open-apis/core @summary 删除角色组与权限关联关系(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/role/group/permission [delete]
func DeleteRolePermission ¶
DeleteRolePermission @Tags open-apis/core @summary 删除角色与权限关联关系(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/role/permission [delete]
func DeleteUserPermission ¶
DeleteUserPermission @Tags open-apis/core @summary 删除人与权限关联(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteReq true "请求参数体" @Router /open-apis/core/rbac/system/user/permission [delete]
func GetEnterpriseUserAllPermissionByUserPk ¶
GetEnterpriseUserAllPermissionByUserPk @Tags open-apis/core @summary 获取账号权限(TenantAccessToken) @Accept json @Produce json @Security bearer @Param user_pk query string true "用户Pk" @Router /open-apis/core/rbac/tenant/user/permission [get]
func GetEnterpriseUserRoleAndRoleGroupByUserPKAndEnterprisePk ¶
GetEnterpriseUserRoleAndRoleGroupByUserPKAndEnterprisePk @Tags open-apis/core @summary 获取账号角色及角色组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param user_pk query string true "用户Pk" @Router /open-apis/core/rbac/tenant/user/role/group [get]
func GetTenantPermission ¶
GetTenantPermission @Tags open-apis/core @summary 获取权限项列表方法(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param operation_type query int false "操作类型" @Param permission_name query string false "权限名称" @Param resource_type query int false "资源类型" @Router /open-apis/core/rbac/tenant/permission [get]
func GetUserAllPermissionByUserPk ¶
GetUserAllPermissionByUserPk @Tags open-apis/core @summary 获取账号权限(UserAccessToken) @Accept json @Produce json @Security bearer @Param user_pk query string true "用户Pk" @Param enterprise_pk query string true "租户Pk" @Router /open-apis/core/rbac/system/user/permission [get]
func GetUserPermissionByUserPkAndEnterprisePkForRedis ¶
GetUserPermissionByUserPkAndEnterprisePkForRedis @Tags open-apis/core @summary 获取缓存中的账号权限数据(TenantAccessToken) @Accept json @Produce json @Security bearer @Router /open-apis/core/rbac/tenant/user [get]
func GetUserRoleAndRoleGroupByUserPKAndEnterprisePk ¶
GetUserRoleAndRoleGroupByUserPKAndEnterprisePk @Tags open-apis/core @summary 获取账号角色及角色组接口(UserAccessToken) @Accept json @Produce json @Security bearer @Param user_pk query string true "用户Pk" @Param enterprise_pk query string true "租户Pk" @Router /open-apis/core/rbac/system/user/role/group [get]
func Load ¶
func Load(r *gin.RouterGroup)
func SelectAllMenuWithDetail ¶
SelectAllMenuWithDetail @Tags open-apis/core @summary 获取菜单信息列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param menu_name query string false "菜单名称" @Router /open-apis/core/rbac/resource/menu [get]
func SelectEnterprisePermissionGroup ¶
SelectEnterprisePermissionGroup @Tags open-apis/core @summary 获取权限组列表(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param group_name query string false "组名" @Router /open-apis/core/rbac/tenant/permission/group [get]
func SelectEnterpriseRole ¶
SelectEnterpriseRole @Tags open-apis/core @summary 获取角色(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_name query string false "组名" @Router /open-apis/core/rbac/tenant/role [get]
func SelectEnterpriseRoleGroup ¶
SelectEnterpriseRoleGroup @Tags open-apis/core @summary 获取角色组列表(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_group_name query string false "组名" @Router /open-apis/core/rbac/tenant/role/group [get]
func SelectEnterpriseRoleGroupUser ¶
SelectEnterpriseRoleGroupUser @Tags open-apis/core @summary 获取角色组人员列表(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_group_pk query string true "角色组主键" @Router /open-apis/core/rbac/tenant/role/group/user [get]
func SelectEnterpriseRoleUser ¶
SelectEnterpriseRoleUser @Tags open-apis/core @summary 获取角色人员列表(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_pk query string true "角色主键" @Router /open-apis/core/rbac/tenant/role/user [get]
func SelectInterfaceResource ¶
SelectInterfaceResource @Tags open-apis/core @summary 获取接口信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param interface_way query string false "接口方法" @Param interface_url query string false "接口路径" @Param interface_name query string false "接口名" @Param interface_key query string false "接口标识符" @Router /open-apis/core/rbac/resource/interface [get]
func SelectPageInterfaceDetailMessage ¶
SelectPageInterfaceDetailMessage @Tags open-apis/core @summary 获取页面及关联接口(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param page_type query int false "页面类型:1平台 2 小程序" @Param page_path query string false "路由地址" @Param component_name query string false "组件名" @Param page_name query string false "页面名称" @Router /open-apis/core/rbac/resource/page [get]
func SelectPermission ¶
SelectPermission @Tags open-apis/core @summary 获取权限项列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param operation_type query int false "操作类型" @Param permission_name query string false "权限名称" @Param resource_type query int false "资源类型" @Param visibility query int false "权限类型" @Router /open-apis/core/rbac/system/permission [get]
func SelectPermissionGroup ¶
SelectPermissionGroup @Tags open-apis/core @summary 获取权限组列表接口(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param group_name query string false "组名" @Param group_type query int false "页数" @Router /open-apis/core/rbac/system/permission/group [get]
func SelectRole ¶
SelectRole @Tags open-apis/core @summary 获取角色(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_name query string false "组名" @Router /open-apis/core/rbac/system/role [get]
func SelectRoleGroup ¶
SelectRoleGroup @Tags open-apis/core @summary 获取角色组列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_group_name query string false "组名" @Router /open-apis/core/rbac/system/role/group [get]
func SelectRoleGroupUser ¶
SelectRoleGroupUser @Tags open-apis/core @summary 获取角色组人员列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_group_pk query string true "角色组主键" @Router /open-apis/core/rbac/system/role/group/user [get]
func SelectRoleUser ¶
SelectRoleUser @Tags open-apis/core @summary 获取角色人员列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param enterprise_pk query string true "租户Pk" @Param role_pk query string true "角色主键" @Router /open-apis/core/rbac/system/role/user [get]
func UpdateInterfaceResource ¶
UpdateInterfaceResource @Tags open-apis/core @summary 修改接口信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdateInterfaceResourceReq true "请求参数体" @Router /open-apis/core/rbac/resource/interface [put]
func UpdateMenuResource ¶
UpdateMenuResource @Tags open-apis/core @summary 修改菜单信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdateMenuResourceReq true "请求参数体" @Router /open-apis/core/rbac/resource/menu [put]
func UpdatePageResource ¶
UpdatePageResource @Tags open-apis/core @summary 修改页面资源(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdatePageResourceReq true "请求参数体" @Router /open-apis/core/rbac/resource/page [put]
func UpdaterEnterprisePermissionGroup ¶
UpdaterEnterprisePermissionGroup @Tags open-apis/core @summary 修改权限组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PutPermissionGroupReq true "请求参数体" @Router /open-apis/core/rbac/tenant/permission/group [put]
func UpdaterEnterpriseRole ¶
UpdaterEnterpriseRole @Tags open-apis/core @summary 修改角色(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PutRoleReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role [put]
func UpdaterEnterpriseRoleGroup ¶
UpdaterEnterpriseRoleGroup @Tags open-apis/core @summary 修改角色组(TenantAccessToken) @Accept json @Produce json @Security bearer @Param params body PutRoleGroupReq true "请求参数体" @Router /open-apis/core/rbac/tenant/role/group [put]
func UpdaterPermission ¶
UpdaterPermission @Tags open-apis/core @summary 修改权限项(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdaterPermissionReq true "请求参数体" @Router /open-apis/core/rbac/system/permission [put]
func UpdaterPermissionGroup ¶
UpdaterPermissionGroup @Tags open-apis/core @summary 修改权限组(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdaterPermissionGroupReq true "请求参数体" @Router /open-apis/core/rbac/system/permission/group [put]
func UpdaterRole ¶
UpdaterRole @Tags open-apis/core @summary 修改角色(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdaterRoleReq true "请求参数体" @Router /open-apis/core/rbac/system/role [put]
func UpdaterRoleGroup ¶
UpdaterRoleGroup @Tags open-apis/core @summary 修改角色组(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body UpdaterRoleReq true "请求参数体" @Router /open-apis/core/rbac/system/role/group [put]
Types ¶
type CreateInterfaceResourceReq ¶
type CreateInterfaceResourceReq struct { InterfaceKey string `json:"interface_key" form:"interface_key" query:"interface_key"` InterfaceName string `json:"interface_name" form:"interface_name" query:"interface_name"` InterfaceWay string `json:"interface_way" form:"interface_way" query:"interface_way"` InterfaceUrl string `json:"interface_url" form:"interface_url" query:"interface_url"` }
type CreateMenuResourceReq ¶
type CreateMenuResourceReq struct { MenuType int32 `json:"menu_type" form:"menu_type" query:"menu_type"` MenuName string `json:"menu_name" form:"menu_name" query:"menu_name"` ResourceKey string `json:"resource_key" form:"resource_key" query:"resource_key"` ParentPk string `json:"parent_pk" form:"parent_pk" query:"parent_pk"` Sort int32 `json:"sort" form:"sort" query:"sort"` Icon string `json:"icon" form:"icon" query:"icon"` Path string `json:"path" form:"path" query:"path"` }
type CreatePageInterfaceReq ¶
type CreatePageResourceReq ¶
type CreatePageResourceReq struct { PagePath string `json:"page_path" form:"page_path" query:"page_path"` Component string `json:"component" form:"component" query:"component"` ComponentName string `json:"component_name" form:"component_name" query:"component_name"` PageName string `json:"page_name" form:"page_name" query:"page_name"` IsCache int32 `json:"is_cache" form:"is_cache" query:"is_cache"` PageType int32 `json:"page_type" form:"page_type" query:"page_type"` }
type CreatePermissionGroupReq ¶
type CreatePermissionGroupReq struct { Remark string `json:"remark" form:"remark" query:"remark"` EnterprisePk string `json:"enterprise_pk" form:"enterprise_pk" query:"enterprise_pk"` GroupName string `json:"group_name" form:"group_name" query:"group_name"` GroupType int32 `json:"group_type" form:"group_type" query:"group_type"` }
type CreatePermissionReq ¶
type CreatePermissionReq struct { OperationType int32 `json:"operation_type" form:"operation_type" query:"operation_type"` EnterprisePk string `json:"enterprise_pk" form:"enterprise_pk" query:"enterprise_pk"` Resource string `json:"resource" form:"resource" query:"resource"` PermissionName string `json:"permission_name" form:"permission_name" query:"permission_name"` ResourceType int32 `json:"resource_type" form:"resource_type" query:"resource_type"` Visibility int32 `json:"visibility" form:"visibility" query:"visibility"` }
type CreateRoleGroupPermissionReq ¶
type CreateRoleGroupPermissionReq struct { RoleGroupPk string `json:"role_group_pk" form:"role_group_pk" query:"role_group_pk"` PermissionType int32 `json:"permission_type" form:"permission_type" query:"permission_type"` PermissionPk string `json:"permission_pk" form:"permission_pk" query:"permission_pk"` }
type CreateRoleGroupReq ¶
type CreateRolePermissionReq ¶
type CreateRoleReq ¶
type CreateUserPermissionReq ¶
type CreateUserPermissionReq struct { PermissionType int32 `json:"permission_type" form:"permission_type" query:"permission_type"` PermissionPk string `json:"permission_pk" form:"permission_pk" query:"permission_pk" example:"${权限主键}"` UserPk string `json:"user_pk" form:"user_pk" query:"user_pk"` EnterprisePk string `json:"enterprise_pk" form:"enterprise_pk" query:"enterprise_pk"` }
type EnterpriseUserPermissionQueryBody ¶
type EnterpriseUserPermissionQueryBody struct {
UserPk string `json:"user_pk" form:"user_pk" query:"user_pk"`
}
type GetPermissionGroupReq ¶
type GetPermissionGroupReq struct { EnterprisePk string `json:"enterprise_pk" form:"enterprise_pk" query:"enterprise_pk"` GroupName string `json:"group_name" form:"group_name" query:"group_name"` Pagination }
type GetPermissionReq ¶
type GetPermissionReq struct { OperationType int32 `json:"operation_type" form:"operation_type" query:"operation_type"` Resource string `json:"resource" form:"resource" query:"resource"` ResourceType int32 `json:"resource_type" form:"resource_type" query:"resource_type"` PermissionName string `json:"permission_name" form:"permission_name" query:"permission_name"` Pagination }
type GetRoleGroupReq ¶
type GetRoleGroupReq struct { RoleGroupName string `json:"role_group_name" form:"role_group_name" query:"role_group_name"` Pagination }
type GetRoleGroupUserReq ¶
type GetRoleGroupUserReq struct { RoleGroupPk string `json:"role_group_pk" form:"role_group_pk" query:"role_group_pk"` Pagination }
type GetRoleReq ¶
type GetRoleReq struct { RoleName string `json:"role_name" form:"role_name" query:"role_name"` Pagination }
type GetRoleUserReq ¶
type GetRoleUserReq struct { RolePk string `json:"role_pk" form:"role_pk" query:"role_pk"` Pagination }
type GetUserPermissionReq ¶
type InterfaceResourceQueryBody ¶
type InterfaceResourceQueryBody struct { InterfaceKey string `json:"interface_key" form:"interface_key" query:"interface_key"` InterfaceName string `json:"interface_name" form:"interface_name" query:"interface_name"` InterfaceWay string `json:"interface_way" form:"interface_way" query:"interface_way"` InterfaceUrl string `json:"interface_url" form:"interface_url" query:"interface_url"` PageQfqz }
type MenuResourceQueryBody ¶
type MenuResourceQueryBody struct {
MenuName string `json:"menu_name" form:"menu_name" query:"menu_name"`
}
type PageResourceQueryBody ¶
type PageResourceQueryBody struct { PagePath string `json:"page_path" form:"page_path" query:"page_path"` Component string `json:"component" form:"component" query:"component"` ComponentName string `json:"component_name" form:"component_name" query:"component_name"` IsCache string `json:"is_cache" form:"is_cache" query:"is_cache"` PageName string `json:"page_name" form:"page_name" query:"page_name"` PageType int32 `json:"page_type" form:"page_type" query:"page_type"` PageQfqz }
type Pagination ¶
type PermissionListQueryBody ¶
type PermissionListQueryBody struct { EnterprisePk string `json:"enterprise_pk" form:"enterprise_pk" query:"enterprise_pk"` OperationType int32 `json:"operation_type" form:"operation_type" query:"operation_type"` Resource string `json:"resource" form:"resource" query:"resource"` ResourceType int32 `json:"resource_type" form:"resource_type" query:"resource_type"` PermissionName string `json:"permission_name" form:"permission_name" query:"permission_name"` Visibility int32 `json:"visibility" form:"visibility" query:"visibility"` PageQfqz }
type PermissionQueryBody ¶
type PostPermissionGroupReq ¶
type PostRoleGroupPermissionReq ¶
type PostRoleGroupPermissionReq struct { RoleGroupPk string `json:"role_group_pk" form:"role_group_pk" query:"role_group_pk"` PermissionType int32 `json:"permission_type" form:"permission_type" query:"permission_type"` PermissionPk string `json:"permission_pk" form:"permission_pk" query:"permission_pk"` }
type PostRoleGroupReq ¶
type PostRolePermissionReq ¶
type PostRoleReq ¶
type PostUserPermissionReq ¶
type PutPermissionGroupReq ¶
type PutRoleGroupReq ¶
type PutRoleReq ¶
type RoleGroupQueryBody ¶
type RoleGroupUserQueryBody ¶
type RoleQueryBody ¶
type RoleUserQueryBody ¶
type UpdateInterfaceResourceReq ¶
type UpdateInterfaceResourceReq struct { Pk string `json:"pk" form:"pk" query:"pk"` InterfaceKey string `json:"interface_key" form:"interface_key" query:"interface_key"` InterfaceName string `json:"interface_name" form:"interface_name" query:"interface_name"` InterfaceWay string `json:"interface_way" form:"interface_way" query:"interface_way"` InterfaceUrl string `json:"interface_url" form:"interface_url" query:"interface_url"` }
type UpdateMenuResourceReq ¶
type UpdateMenuResourceReq struct { Pk string `json:"pk" form:"pk" query:"pk"` MenuType int32 `json:"menu_type" form:"menu_type" query:"menu_type"` MenuName string `json:"menu_name" form:"menu_name" query:"menu_name"` ResourceKey string `json:"resource_key" form:"resource_key" query:"resource_key"` ParentPk string `json:"parent_pk" form:"parent_pk" query:"parent_pk"` Sort int32 `json:"sort" form:"sort" query:"sort"` Icon string `json:"icon" form:"icon" query:"icon"` Path string `json:"path" form:"path" query:"path"` }
type UpdatePageResourceReq ¶
type UpdatePageResourceReq struct { Pk string `json:"pk" form:"pk" query:"pk"` PagePath string `json:"page_path" form:"page_path" query:"page_path"` Component string `json:"component" form:"component" query:"component"` ComponentName string `json:"component_name" form:"component_name" query:"component_name"` PageName string `json:"page_name" form:"page_name" query:"page_name"` IsCache int32 `json:"is_cache" form:"is_cache" query:"is_cache"` PageType int32 `json:"page_type" form:"page_type" query:"page_type"` }
type UpdaterPermissionReq ¶
type UpdaterPermissionReq struct { Pk string `json:"pk" form:"pk" query:"pk"` OperationType int32 `json:"operation_type" form:"operation_type" query:"operation_type"` Resource string `json:"resource" form:"resource" query:"resource"` PermissionName string `json:"permission_name" form:"permission_name" query:"permission_name"` ResourceType int32 `json:"resource_type" form:"resource_type" query:"resource_type"` Visibility int32 `json:"visibility" form:"visibility" query:"visibility"` }