Versions in this module Expand all Collapse all v1 v1.8.1 Jan 20, 2025 Changes in this version + type CreateMenuLogic struct + func NewCreateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateMenuLogic + func (l *CreateMenuLogic) CreateMenu(req *types.MenuPlainInfo) (resp *types.BaseMsgResp, err error) + type DeleteMenuLogic struct + func NewDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuLogic + func (l *DeleteMenuLogic) DeleteMenu(req *types.IDReq) (resp *types.BaseMsgResp, err error) + type GetMenuListByRoleLogic struct + func NewGetMenuListByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListByRoleLogic + func (l *GetMenuListByRoleLogic) GetMenuListByRole() (resp *types.MenuListResp, err error) + type GetMenuListLogic struct + func NewGetMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListLogic + func (l *GetMenuListLogic) GetMenuList() (resp *types.MenuPlainInfoListResp, err error) + type UpdateMenuLogic struct + func NewUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuLogic + func (l *UpdateMenuLogic) UpdateMenu(req *types.MenuPlainInfo) (resp *types.BaseMsgResp, err error)