notifymanagelogic

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfigEnableTypes

func InitConfigEnableTypes(ctx context.Context, tx *gorm.DB, notifyCode string) error

func SendNotifyMsg

func SendNotifyMsg(ctx context.Context, svcCtx *svc.ServiceContext, cfg SendMsgConfig) error

Types

type MessageInfoDeleteLogic

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

func NewMessageInfoDeleteLogic

func NewMessageInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MessageInfoDeleteLogic

func (*MessageInfoDeleteLogic) MessageInfoDelete

func (l *MessageInfoDeleteLogic) MessageInfoDelete(in *sys.WithID) (*sys.Empty, error)

type MessageInfoIndexLogic

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

func NewMessageInfoIndexLogic

func NewMessageInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MessageInfoIndexLogic

func (*MessageInfoIndexLogic) MessageInfoIndex

type MessageInfoSendLogic

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

func NewMessageInfoSendLogic

func NewMessageInfoSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MessageInfoSendLogic

func (*MessageInfoSendLogic) MessageInfoSend

func (l *MessageInfoSendLogic) MessageInfoSend(in *sys.MessageInfoSendReq) (*sys.WithID, error)

站内信

type MessageInfoUpdateLogic

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

func NewMessageInfoUpdateLogic

func NewMessageInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MessageInfoUpdateLogic

func (*MessageInfoUpdateLogic) MessageInfoUpdate

func (l *MessageInfoUpdateLogic) MessageInfoUpdate(in *sys.MessageInfo) (*sys.Empty, error)

type NotifyChannelCreateLogic

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

func NewNotifyChannelCreateLogic

func NewNotifyChannelCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelCreateLogic

func (*NotifyChannelCreateLogic) NotifyChannelCreate

func (l *NotifyChannelCreateLogic) NotifyChannelCreate(in *sys.NotifyChannel) (*sys.WithID, error)

type NotifyChannelDeleteLogic

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

func NewNotifyChannelDeleteLogic

func NewNotifyChannelDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelDeleteLogic

func (*NotifyChannelDeleteLogic) NotifyChannelDelete

func (l *NotifyChannelDeleteLogic) NotifyChannelDelete(in *sys.WithID) (*sys.Empty, error)

type NotifyChannelIndexLogic

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

func NewNotifyChannelIndexLogic

func NewNotifyChannelIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelIndexLogic

func (*NotifyChannelIndexLogic) NotifyChannelIndex

type NotifyChannelReadLogic

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

func NewNotifyChannelReadLogic

func NewNotifyChannelReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelReadLogic

func (*NotifyChannelReadLogic) NotifyChannelRead

func (l *NotifyChannelReadLogic) NotifyChannelRead(in *sys.WithID) (*sys.NotifyChannel, error)

type NotifyChannelUpdateLogic

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

func NewNotifyChannelUpdateLogic

func NewNotifyChannelUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelUpdateLogic

func (*NotifyChannelUpdateLogic) NotifyChannelUpdate

func (l *NotifyChannelUpdateLogic) NotifyChannelUpdate(in *sys.NotifyChannel) (*sys.Empty, error)

type NotifyConfigCreateLogic

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

func NewNotifyConfigCreateLogic

func NewNotifyConfigCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigCreateLogic

func (*NotifyConfigCreateLogic) NotifyConfigCreate

func (l *NotifyConfigCreateLogic) NotifyConfigCreate(in *sys.NotifyConfig) (*sys.WithID, error)

type NotifyConfigDeleteLogic

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

func NewNotifyConfigDeleteLogic

func NewNotifyConfigDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigDeleteLogic

func (*NotifyConfigDeleteLogic) NotifyConfigDelete

func (l *NotifyConfigDeleteLogic) NotifyConfigDelete(in *sys.WithID) (*sys.Empty, error)

type NotifyConfigIndexLogic

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

func NewNotifyConfigIndexLogic

func NewNotifyConfigIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigIndexLogic

func (*NotifyConfigIndexLogic) NotifyConfigIndex

type NotifyConfigReadLogic

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

func NewNotifyConfigReadLogic

func NewNotifyConfigReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigReadLogic

func (*NotifyConfigReadLogic) NotifyConfigRead

func (l *NotifyConfigReadLogic) NotifyConfigRead(in *sys.WithIDCode) (*sys.NotifyConfig, error)

通知配置信息

type NotifyConfigSendLogic

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

func NewNotifyConfigSendLogic

func NewNotifyConfigSendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigSendLogic

func (*NotifyConfigSendLogic) NotifyConfigSend

func (l *NotifyConfigSendLogic) NotifyConfigSend(in *sys.NotifyConfigSendReq) (*sys.Empty, error)

type NotifyConfigTemplateDeleteLogic

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

func NewNotifyConfigTemplateDeleteLogic

func NewNotifyConfigTemplateDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigTemplateDeleteLogic

func (*NotifyConfigTemplateDeleteLogic) NotifyConfigTemplateDelete

func (l *NotifyConfigTemplateDeleteLogic) NotifyConfigTemplateDelete(in *sys.NotifyConfigTemplateDeleteReq) (*sys.Empty, error)

type NotifyConfigTemplateIndexLogic

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

func NewNotifyConfigTemplateIndexLogic

func NewNotifyConfigTemplateIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigTemplateIndexLogic

func (*NotifyConfigTemplateIndexLogic) NotifyConfigTemplateIndex

type NotifyConfigTemplateUpdateLogic

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

func NewNotifyConfigTemplateUpdateLogic

func NewNotifyConfigTemplateUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigTemplateUpdateLogic

func (*NotifyConfigTemplateUpdateLogic) NotifyConfigTemplateUpdate

func (l *NotifyConfigTemplateUpdateLogic) NotifyConfigTemplateUpdate(in *sys.NotifyConfigTemplate) (*sys.Empty, error)

租户通知配置

type NotifyConfigUpdateLogic

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

func NewNotifyConfigUpdateLogic

func NewNotifyConfigUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigUpdateLogic

func (*NotifyConfigUpdateLogic) NotifyConfigUpdate

func (l *NotifyConfigUpdateLogic) NotifyConfigUpdate(in *sys.NotifyConfig) (*sys.Empty, error)

type NotifyTemplateCreateLogic

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

func NewNotifyTemplateCreateLogic

func NewNotifyTemplateCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateCreateLogic

func (*NotifyTemplateCreateLogic) NotifyTemplateCreate

func (l *NotifyTemplateCreateLogic) NotifyTemplateCreate(in *sys.NotifyTemplate) (*sys.WithID, error)

type NotifyTemplateDeleteLogic

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

func NewNotifyTemplateDeleteLogic

func NewNotifyTemplateDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateDeleteLogic

func (*NotifyTemplateDeleteLogic) NotifyTemplateDelete

func (l *NotifyTemplateDeleteLogic) NotifyTemplateDelete(in *sys.WithID) (*sys.Empty, error)

type NotifyTemplateIndexLogic

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

func NewNotifyTemplateIndexLogic

func NewNotifyTemplateIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateIndexLogic

func (*NotifyTemplateIndexLogic) NotifyTemplateIndex

type NotifyTemplateReadLogic

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

func NewNotifyTemplateReadLogic

func NewNotifyTemplateReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateReadLogic

func (*NotifyTemplateReadLogic) NotifyTemplateRead

func (l *NotifyTemplateReadLogic) NotifyTemplateRead(in *sys.WithID) (*sys.NotifyTemplate, error)

通知模版

type NotifyTemplateUpdateLogic

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

func NewNotifyTemplateUpdateLogic

func NewNotifyTemplateUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateUpdateLogic

func (*NotifyTemplateUpdateLogic) NotifyTemplateUpdate

func (l *NotifyTemplateUpdateLogic) NotifyTemplateUpdate(in *sys.NotifyTemplate) (*sys.Empty, error)

type SendMsgConfig

type SendMsgConfig struct {
	UserIDs       []int64 //只有填写了这项才会记录
	Accounts      []string
	AccountType   string
	NotifyCode    string         //通知的code
	BakNotifyCode string         //备用通知code
	TemplateID    int64          //指定模板
	Type          def.NotifyType //通知类型
	Params        map[string]any
	Str1          string
	Str2          string
	Str3          string
}

Jump to

Keyboard shortcuts

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