新增账号凭证邮箱查询接口

This commit is contained in:
song
2026-01-20 14:17:10 +08:00
parent 86d63f919d
commit 64795a03e3
9 changed files with 213 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ type AccountRepository interface {
ListByGroup(ctx context.Context, groupID int64) ([]Account, error)
ListActive(ctx context.Context) ([]Account, error)
ListByPlatform(ctx context.Context, platform string) ([]Account, error)
ListByPlatformAndCredentialEmails(ctx context.Context, platform string, emails []string) ([]Account, error)
UpdateLastUsed(ctx context.Context, id int64) error
BatchUpdateLastUsed(ctx context.Context, updates map[int64]time.Time) error