inbox

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 InboxService

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

func NewInboxService

func NewInboxService(db *gorm.DB, ctx *context.ERPContext) *InboxService

func (*InboxService) CountUnread

func (s *InboxService) CountUnread(userID *string, memberID *string) (int64, error)

func (*InboxService) CountUnreadSendMessage

func (s *InboxService) CountUnreadSendMessage(userID *string, memberID *string) (int64, error)

func (*InboxService) DeleteMessage

func (s *InboxService) DeleteMessage(inboxMessageID string, userID *string, memberID *string) error

func (*InboxService) GetDefaultInbox

func (s *InboxService) GetDefaultInbox(userID *string, memberID *string) (*models.InboxModel, error)

func (*InboxService) GetInboxMessageDetail

func (s *InboxService) GetInboxMessageDetail(inboxMessageID string) (*models.InboxMessageModel, error)

func (*InboxService) GetInboxes

func (s *InboxService) GetInboxes(userID *string, memberID *string) ([]models.InboxModel, error)

func (*InboxService) GetMessageByInboxID

func (s *InboxService) GetMessageByInboxID(request http.Request, search string, inboxID *string) (paginate.Page, error)

func (*InboxService) GetSentMessages

func (s *InboxService) GetSentMessages(request http.Request, search string, userID *string, memberID *string) (paginate.Page, error)

func (*InboxService) SendMessage

func (s *InboxService) SendMessage(data *models.InboxMessageModel) error

Jump to

Keyboard shortcuts

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