This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

View File

@ -0,0 +1,37 @@
// ==========================================================================
// GFast自动生成service操作代码。
// 生成日期2024-04-11 16:58:12
// 生成路径: internal/app/system/service/notification_recipients.go
// 生成人gfast
// desc:通知接收
// company:云南奇讯科技有限公司
// ==========================================================================
package service
import (
"context"
"github.com/tiger1103/gfast/v3/api/v1/system"
"github.com/tiger1103/gfast/v3/internal/app/system/model"
)
type INotificationRecipients interface {
List(ctx context.Context, req *system.NotificationRecipientsSearchReq) (res *system.NotificationRecipientsSearchRes, err error)
GetById(ctx context.Context, Id uint) (res *model.NotificationRecipientsInfoRes, err error)
Add(ctx context.Context, req *system.NotificationRecipientsAddReq) (err error)
Edit(ctx context.Context, req *system.NotificationRecipientsEditReq) (err error)
Delete(ctx context.Context, Id []uint) (err error)
}
var localNotificationRecipients INotificationRecipients
func NotificationRecipients() INotificationRecipients {
if localNotificationRecipients == nil {
panic("implement not found for interface INotificationRecipients, forgot register?")
}
return localNotificationRecipients
}
func RegisterNotificationRecipients(i INotificationRecipients) {
localNotificationRecipients = i
}