categoryrpclogic

package
v0.0.0-...-09fef34 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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 CreateCategoryLogic

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

func NewCreateCategoryLogic

func NewCreateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCategoryLogic

func (*CreateCategoryLogic) CreateCategory

func (l *CreateCategoryLogic) CreateCategory(in *blog.Category) (*blog.Category, error)

创建文章分类

type DeleteCategoryListLogic

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

func NewDeleteCategoryListLogic

func NewDeleteCategoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCategoryListLogic

func (*DeleteCategoryListLogic) DeleteCategoryList

func (l *DeleteCategoryListLogic) DeleteCategoryList(in *blog.IdsReq) (*blog.BatchResp, error)

批量删除文章分类

type DeleteCategoryLogic

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

func NewDeleteCategoryLogic

func NewDeleteCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCategoryLogic

func (*DeleteCategoryLogic) DeleteCategory

func (l *DeleteCategoryLogic) DeleteCategory(in *blog.IdReq) (*blog.BatchResp, error)

删除文章分类

type FindCategoryCountLogic

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

func NewFindCategoryCountLogic

func NewFindCategoryCountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCategoryCountLogic

func (*FindCategoryCountLogic) FindCategoryCount

func (l *FindCategoryCountLogic) FindCategoryCount(in *blog.PageQuery) (*blog.CountResp, error)

查询文章分类数量

type FindCategoryListByIdsLogic

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

func NewFindCategoryListByIdsLogic

func NewFindCategoryListByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCategoryListByIdsLogic

func (*FindCategoryListByIdsLogic) FindCategoryListByIds

func (l *FindCategoryListByIdsLogic) FindCategoryListByIds(in *blog.IdsReq) (*blog.CategoryPageResp, error)

查询文章分类列表(通过ids)

type FindCategoryListLogic

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

func NewFindCategoryListLogic

func NewFindCategoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCategoryListLogic

func (*FindCategoryListLogic) FindCategoryList

func (l *FindCategoryListLogic) FindCategoryList(in *blog.PageQuery) (*blog.CategoryPageResp, error)

分页获取文章分类列表

type FindCategoryLogic

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

func NewFindCategoryLogic

func NewFindCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCategoryLogic

func (*FindCategoryLogic) FindCategory

func (l *FindCategoryLogic) FindCategory(in *blog.IdReq) (*blog.Category, error)

查询文章分类

type UpdateCategoryLogic

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

func NewUpdateCategoryLogic

func NewUpdateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCategoryLogic

func (*UpdateCategoryLogic) UpdateCategory

func (l *UpdateCategoryLogic) UpdateCategory(in *blog.Category) (*blog.Category, error)

更新文章分类

Jump to

Keyboard shortcuts

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