暂存一下,防止丢失

This commit is contained in:
2026-07-24 16:07:18 +08:00
parent 5d6e23f1a5
commit a18ed8bc8d
180 changed files with 13597 additions and 1986 deletions

View File

@@ -0,0 +1,10 @@
package shop
import "context"
// NotificationRecipientResolver 定义按店铺解析当前可用后台通知接收人的 Port。
//
// 实现只返回稳定账号 ID无可用接收人是正常结果不应触发无限重试。
type NotificationRecipientResolver interface {
ResolveNotificationRecipients(ctx context.Context, shopID uint) ([]uint, error)
}