Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryMenuByRoleIdLogic ¶
QueryMenuByRoleIdLogic
Author: LiuFeiHua Date: 2023/12/18 15:52
func NewQueryMenuByRoleIdLogic ¶
func NewQueryMenuByRoleIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryMenuByRoleIdLogic
func (*QueryMenuByRoleIdLogic) QueryMenuByRoleId ¶
func (l *QueryMenuByRoleIdLogic) QueryMenuByRoleId(in *sysclient.QueryMenuByRoleIdReq) (*sysclient.QueryMenuByRoleIdResp, error)
QueryMenuByRoleId 查询角色权限
type RoleAddLogic ¶
RoleAddLogic
Author: LiuFeiHua Date: 2023/12/18 15:54
func NewRoleAddLogic ¶
func NewRoleAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RoleAddLogic
func (*RoleAddLogic) RoleAdd ¶
func (l *RoleAddLogic) RoleAdd(in *sysclient.RoleAddReq) (*sysclient.RoleAddResp, error)
RoleAdd 新增角色
type RoleDeleteLogic ¶
RoleDeleteLogic
Author: LiuFeiHua Date: 2023/12/18 15:55
func NewRoleDeleteLogic ¶
func NewRoleDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RoleDeleteLogic
func (*RoleDeleteLogic) RoleDelete ¶
func (l *RoleDeleteLogic) RoleDelete(in *sysclient.RoleDeleteReq) (*sysclient.RoleDeleteResp, error)
RoleDelete 删除角色(id为1的是系统预留超级管理员角色,不能删除)
type RoleListLogic ¶
RoleListLogic
Author: LiuFeiHua Date: 2023/12/18 16:06
func NewRoleListLogic ¶
func NewRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RoleListLogic
func (*RoleListLogic) RoleList ¶
func (l *RoleListLogic) RoleList(in *sysclient.RoleListReq) (*sysclient.RoleListResp, error)
RoleList 角色列表
type RoleUpdateLogic ¶
RoleUpdateLogic
Author: LiuFeiHua Date: 2023/12/18 15:57
func NewRoleUpdateLogic ¶
func NewRoleUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RoleUpdateLogic
func (*RoleUpdateLogic) RoleUpdate ¶
func (l *RoleUpdateLogic) RoleUpdate(in *sysclient.RoleUpdateReq) (*sysclient.RoleUpdateResp, error)
RoleUpdate 更新角色(id为1的是系统预留超级管理员角色,不能更新)
type UpdateMenuRoleLogic ¶
UpdateMenuRoleLogic
Author: LiuFeiHua Date: 2023/12/18 15:58
func NewUpdateMenuRoleLogic ¶
func NewUpdateMenuRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuRoleLogic
func (*UpdateMenuRoleLogic) UpdateMenuRole ¶
func (l *UpdateMenuRoleLogic) UpdateMenuRole(in *sysclient.UpdateMenuRoleReq) (*sysclient.UpdateMenuRoleResp, error)
UpdateMenuRole 更新角色与菜单的关联(id为1的是系统预留超级管理员角色,不用关联)
Click to show internal directories.
Click to hide internal directories.