feat: sync public links and phone change updates

This commit is contained in:
A 2026-07-10 22:01:44 +08:00
parent 41c7f1d018
commit da04c0fa6a
53 changed files with 3029 additions and 111 deletions

View file

@ -0,0 +1,13 @@
package store
import (
"context"
"telesrv/internal/domain"
)
// PhoneChangeStore 原子修改账号手机号并记录可恢复的 updateUserPhone 事件。
// 生产实现还必须在同一事务入 dispatch outbox。
type PhoneChangeStore interface {
ChangePhone(ctx context.Context, req domain.PhoneChangeRequest) (domain.PhoneChangeResult, error)
}