暂存一下,防止丢失
This commit is contained in:
8
internal/application/notification/recipient.go
Normal file
8
internal/application/notification/recipient.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package notification
|
||||
|
||||
import "context"
|
||||
|
||||
// DynamicRecipientResolver 定义后台通知动态接收人解析 Port。
|
||||
type DynamicRecipientResolver interface {
|
||||
Resolve(ctx context.Context, targetKind string, targetID uint) ([]uint, error)
|
||||
}
|
||||
Reference in New Issue
Block a user