role

package
v0.0.0-...-eea11df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRoleLogic

type AddRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddRoleLogic

func NewAddRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddRoleLogic

创建角色

func (*AddRoleLogic) AddRole

func (l *AddRoleLogic) AddRole(req *types.RoleNewReq) (resp *types.RoleBackDTO, err error)

type BatchDeleteRoleLogic

type BatchDeleteRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewBatchDeleteRoleLogic

func NewBatchDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteRoleLogic

批量删除角色

func (*BatchDeleteRoleLogic) BatchDeleteRole

func (l *BatchDeleteRoleLogic) BatchDeleteRole(req *types.IdsReq) (resp *types.BatchResp, err error)

type DeleteRoleLogic

type DeleteRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteRoleLogic

func NewDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRoleLogic

删除角色

func (*DeleteRoleLogic) DeleteRole

func (l *DeleteRoleLogic) DeleteRole(req *types.IdReq) (resp *types.BatchResp, err error)

type FindRoleListLogic

type FindRoleListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewFindRoleListLogic

func NewFindRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindRoleListLogic

分页获取角色列表

func (*FindRoleListLogic) FindRoleList

func (l *FindRoleListLogic) FindRoleList(req *types.RoleQuery) (resp *types.PageResp, err error)

type FindRoleResourcesLogic

type FindRoleResourcesLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewFindRoleResourcesLogic

func NewFindRoleResourcesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindRoleResourcesLogic

获取角色资源列表

func (*FindRoleResourcesLogic) FindRoleResources

func (l *FindRoleResourcesLogic) FindRoleResources(req *types.IdReq) (resp *types.RoleResourcesResp, err error)

type UpdateRoleApisLogic

type UpdateRoleApisLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateRoleApisLogic

func NewUpdateRoleApisLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleApisLogic

更新角色接口权限

func (*UpdateRoleApisLogic) UpdateRoleApis

func (l *UpdateRoleApisLogic) UpdateRoleApis(req *types.UpdateRoleApisReq) (resp *types.EmptyResp, err error)

type UpdateRoleLogic

type UpdateRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateRoleLogic

func NewUpdateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleLogic

更新角色

func (*UpdateRoleLogic) UpdateRole

func (l *UpdateRoleLogic) UpdateRole(req *types.RoleNewReq) (resp *types.RoleBackDTO, err error)

type UpdateRoleMenusLogic

type UpdateRoleMenusLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateRoleMenusLogic

func NewUpdateRoleMenusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleMenusLogic

更新角色菜单权限

func (*UpdateRoleMenusLogic) UpdateRoleMenus

func (l *UpdateRoleMenusLogic) UpdateRoleMenus(req *types.UpdateRoleMenusReq) (resp *types.EmptyResp, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL