commentrpclogic

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCommentLogic

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

func NewAddCommentLogic

func NewAddCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCommentLogic

func (*AddCommentLogic) AddComment

创建评论

type DeleteCommentLogic

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

func NewDeleteCommentLogic

func NewDeleteCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommentLogic

func (*DeleteCommentLogic) DeleteComment

func (l *DeleteCommentLogic) DeleteComment(in *commentrpc.IdsReq) (*commentrpc.BatchResp, error)

删除评论

type FindCommentListLogic

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

func NewFindCommentListLogic

func NewFindCommentListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCommentListLogic

func (*FindCommentListLogic) FindCommentList

分页获取评论列表

type FindCommentReplyListLogic

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

func NewFindCommentReplyListLogic

func NewFindCommentReplyListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCommentReplyListLogic

func (*FindCommentReplyListLogic) FindCommentReplyList

查询评论回复列表

type FindTopicCommentCountsLogic

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

func NewFindTopicCommentCountsLogic

func NewFindTopicCommentCountsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindTopicCommentCountsLogic

func (*FindTopicCommentCountsLogic) FindTopicCommentCounts

查询评论回复数量

type FindUserLikeCommentLogic

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

func NewFindUserLikeCommentLogic

func NewFindUserLikeCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserLikeCommentLogic

func (*FindUserLikeCommentLogic) FindUserLikeComment

用户点赞的评论

type GetCommentLogic

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

func NewGetCommentLogic

func NewGetCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCommentLogic

func (*GetCommentLogic) GetComment

查询评论

type LikeCommentLogic

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

func NewLikeCommentLogic

func NewLikeCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LikeCommentLogic

func (*LikeCommentLogic) LikeComment

func (l *LikeCommentLogic) LikeComment(in *commentrpc.IdReq) (*commentrpc.EmptyResp, error)

点赞评论

type UpdateCommentContentLogic

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

func NewUpdateCommentContentLogic

func NewUpdateCommentContentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommentContentLogic

func (*UpdateCommentContentLogic) UpdateCommentContent

更新评论

type UpdateCommentReviewLogic

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

func NewUpdateCommentReviewLogic

func NewUpdateCommentReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommentReviewLogic

func (*UpdateCommentReviewLogic) UpdateCommentReview

更新评论审核状态

Jump to

Keyboard shortcuts

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