Documentation ¶
Index ¶
- func InitConfigEnableTypes(ctx context.Context, tx *gorm.DB, notifyCode string) error
- func SendNotifyMsg(ctx context.Context, svcCtx *svc.ServiceContext, cfg SendMsgConfig) error
- type MessageInfoDeleteLogic
- type MessageInfoIndexLogic
- type MessageInfoSendLogic
- type MessageInfoUpdateLogic
- type NotifyChannelCreateLogic
- type NotifyChannelDeleteLogic
- type NotifyChannelIndexLogic
- type NotifyChannelReadLogic
- type NotifyChannelUpdateLogic
- type NotifyConfigCreateLogic
- type NotifyConfigDeleteLogic
- type NotifyConfigIndexLogic
- type NotifyConfigReadLogic
- type NotifyConfigSendLogic
- type NotifyConfigTemplateDeleteLogic
- type NotifyConfigTemplateIndexLogic
- type NotifyConfigTemplateUpdateLogic
- type NotifyConfigUpdateLogic
- type NotifyTemplateCreateLogic
- type NotifyTemplateDeleteLogic
- type NotifyTemplateIndexLogic
- type NotifyTemplateReadLogic
- type NotifyTemplateUpdateLogic
- type SendMsgConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfigEnableTypes ¶
func SendNotifyMsg ¶
func SendNotifyMsg(ctx context.Context, svcCtx *svc.ServiceContext, cfg SendMsgConfig) error
Types ¶
type MessageInfoDeleteLogic ¶
func NewMessageInfoDeleteLogic ¶
func NewMessageInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MessageInfoDeleteLogic
func (*MessageInfoDeleteLogic) MessageInfoDelete ¶
type MessageInfoIndexLogic ¶
func NewMessageInfoIndexLogic ¶
func NewMessageInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MessageInfoIndexLogic
func (*MessageInfoIndexLogic) MessageInfoIndex ¶
func (l *MessageInfoIndexLogic) MessageInfoIndex(in *sys.MessageInfoIndexReq) (*sys.MessageInfoIndexResp, error)
type MessageInfoSendLogic ¶
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 ¶
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 ¶
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 ¶
func NewNotifyChannelDeleteLogic ¶
func NewNotifyChannelDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelDeleteLogic
func (*NotifyChannelDeleteLogic) NotifyChannelDelete ¶
type NotifyChannelIndexLogic ¶
func NewNotifyChannelIndexLogic ¶
func NewNotifyChannelIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyChannelIndexLogic
func (*NotifyChannelIndexLogic) NotifyChannelIndex ¶
func (l *NotifyChannelIndexLogic) NotifyChannelIndex(in *sys.NotifyChannelIndexReq) (*sys.NotifyChannelIndexResp, error)
type NotifyChannelReadLogic ¶
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 ¶
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 ¶
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 ¶
func NewNotifyConfigDeleteLogic ¶
func NewNotifyConfigDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigDeleteLogic
func (*NotifyConfigDeleteLogic) NotifyConfigDelete ¶
type NotifyConfigIndexLogic ¶
func NewNotifyConfigIndexLogic ¶
func NewNotifyConfigIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyConfigIndexLogic
func (*NotifyConfigIndexLogic) NotifyConfigIndex ¶
func (l *NotifyConfigIndexLogic) NotifyConfigIndex(in *sys.NotifyConfigIndexReq) (*sys.NotifyConfigIndexResp, error)
type NotifyConfigReadLogic ¶
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 ¶
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 ¶
func (l *NotifyConfigTemplateIndexLogic) NotifyConfigTemplateIndex(in *sys.NotifyConfigTemplateIndexReq) (*sys.NotifyConfigTemplateIndexResp, error)
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 ¶
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 ¶
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 ¶
func NewNotifyTemplateDeleteLogic ¶
func NewNotifyTemplateDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateDeleteLogic
func (*NotifyTemplateDeleteLogic) NotifyTemplateDelete ¶
type NotifyTemplateIndexLogic ¶
func NewNotifyTemplateIndexLogic ¶
func NewNotifyTemplateIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateIndexLogic
func (*NotifyTemplateIndexLogic) NotifyTemplateIndex ¶
func (l *NotifyTemplateIndexLogic) NotifyTemplateIndex(in *sys.NotifyTemplateIndexReq) (*sys.NotifyTemplateIndexResp, error)
type NotifyTemplateReadLogic ¶
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 ¶
func NewNotifyTemplateUpdateLogic ¶
func NewNotifyTemplateUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateUpdateLogic
func (*NotifyTemplateUpdateLogic) NotifyTemplateUpdate ¶
func (l *NotifyTemplateUpdateLogic) NotifyTemplateUpdate(in *sys.NotifyTemplate) (*sys.Empty, error)
Source Files ¶
- messageInfoDeleteLogic.go
- messageInfoIndexLogic.go
- messageInfoSendLogic.go
- messageInfoUpdateLogic.go
- notifyChannelCreateLogic.go
- notifyChannelDeleteLogic.go
- notifyChannelIndexLogic.go
- notifyChannelReadLogic.go
- notifyChannelUpdateLogic.go
- notifyConfigCreateLogic.go
- notifyConfigDeleteLogic.go
- notifyConfigIndexLogic.go
- notifyConfigReadLogic.go
- notifyConfigSendLogic.go
- notifyConfigTemplateDeleteLogic.go
- notifyConfigTemplateIndexLogic.go
- notifyConfigTemplateUpdateLogic.go
- notifyConfigUpdateLogic.go
- notifyTemplateCreateLogic.go
- notifyTemplateDeleteLogic.go
- notifyTemplateIndexLogic.go
- notifyTemplateReadLogic.go
- notifyTemplateUpdateLogic.go
- sendMsg.go
Click to show internal directories.
Click to hide internal directories.