content_comment

package
v1.0.44 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentCommentService

type ContentCommentService struct {
	// contains filtered or unexported fields
}

func NewContentCommentService

func NewContentCommentService(db *gorm.DB, ctx *context.ERPContext) *ContentCommentService

func (*ContentCommentService) CreateContentComment

func (s *ContentCommentService) CreateContentComment(data *models.ContentCommentModel) error

func (*ContentCommentService) DeleteContentComment

func (s *ContentCommentService) DeleteContentComment(id string) error

func (*ContentCommentService) GetContentCommentByID

func (s *ContentCommentService) GetContentCommentByID(id string) (*models.ContentCommentModel, error)

func (*ContentCommentService) GetContentComments

func (s *ContentCommentService) GetContentComments(request http.Request, search string) (paginate.Page, error)

func (*ContentCommentService) UpdateContentComment

func (s *ContentCommentService) UpdateContentComment(id string, data *models.ContentCommentModel) error

Jump to

Keyboard shortcuts

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