Documentation ¶
Index ¶
- func ConvertMenuPb(in *types.MenuNewReq) (out *permissionrpc.MenuNewReq)
- func ConvertMenuTypes(in *permissionrpc.MenuDetails) (out *types.MenuBackDTO)
- type AddMenuLogic
- type BatchDeleteMenuLogic
- type CleanMenuListLogic
- type DeleteMenuLogic
- type FindMenuListLogic
- type SyncMenuListLogic
- type UpdateMenuLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMenuPb ¶
func ConvertMenuPb(in *types.MenuNewReq) (out *permissionrpc.MenuNewReq)
func ConvertMenuTypes ¶
func ConvertMenuTypes(in *permissionrpc.MenuDetails) (out *types.MenuBackDTO)
Types ¶
type AddMenuLogic ¶
func NewAddMenuLogic ¶
func NewAddMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddMenuLogic
创建菜单
func (*AddMenuLogic) AddMenu ¶
func (l *AddMenuLogic) AddMenu(req *types.MenuNewReq) (resp *types.MenuBackDTO, err error)
type BatchDeleteMenuLogic ¶
func NewBatchDeleteMenuLogic ¶
func NewBatchDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteMenuLogic
批量删除菜单
func (*BatchDeleteMenuLogic) BatchDeleteMenu ¶
type CleanMenuListLogic ¶
func NewCleanMenuListLogic ¶
func NewCleanMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CleanMenuListLogic
清空菜单列表
func (*CleanMenuListLogic) CleanMenuList ¶
type DeleteMenuLogic ¶
func NewDeleteMenuLogic ¶
func NewDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuLogic
删除菜单
func (*DeleteMenuLogic) DeleteMenu ¶
type FindMenuListLogic ¶
func NewFindMenuListLogic ¶
func NewFindMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindMenuListLogic
分页获取菜单列表
func (*FindMenuListLogic) FindMenuList ¶
type SyncMenuListLogic ¶
func NewSyncMenuListLogic ¶
func NewSyncMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncMenuListLogic
同步菜单列表
func (*SyncMenuListLogic) SyncMenuList ¶
func (l *SyncMenuListLogic) SyncMenuList(req *types.SyncMenuReq) (resp *types.BatchResp, err error)
type UpdateMenuLogic ¶
func NewUpdateMenuLogic ¶
func NewUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuLogic
更新菜单
func (*UpdateMenuLogic) UpdateMenu ¶
func (l *UpdateMenuLogic) UpdateMenu(req *types.MenuNewReq) (resp *types.MenuBackDTO, err error)
Click to show internal directories.
Click to hide internal directories.