Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCommentTypes ¶
func ConvertCommentTypes(in *commentrpc.CommentDetails, usm map[string]*accountrpc.User, tsm map[int64]*articlerpc.ArticlePreview) (out *types.CommentBackDTO)
Types ¶
type BatchDeleteCommentLogic ¶
func NewBatchDeleteCommentLogic ¶
func NewBatchDeleteCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteCommentLogic
批量删除评论
func (*BatchDeleteCommentLogic) BatchDeleteComment ¶
type DeleteCommentLogic ¶
func NewDeleteCommentLogic ¶
func NewDeleteCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommentLogic
删除评论
func (*DeleteCommentLogic) DeleteComment ¶
type FindCommentBackListLogic ¶
func NewFindCommentBackListLogic ¶
func NewFindCommentBackListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCommentBackListLogic
查询评论列表(后台)
func (*FindCommentBackListLogic) FindCommentBackList ¶
func (l *FindCommentBackListLogic) FindCommentBackList(req *types.CommentQuery) (resp *types.PageResp, err error)
type UpdateCommentReviewLogic ¶
func NewUpdateCommentReviewLogic ¶
func NewUpdateCommentReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommentReviewLogic
更新评论审核状态
func (*UpdateCommentReviewLogic) UpdateCommentReview ¶
func (l *UpdateCommentReviewLogic) UpdateCommentReview(req *types.CommentReviewReq) (resp *types.BatchResp, err error)
Click to show internal directories.
Click to hide internal directories.