feat: sync public links and phone change updates
This commit is contained in:
parent
41c7f1d018
commit
da04c0fa6a
53 changed files with 3029 additions and 111 deletions
13
internal/store/phone_change.go
Normal file
13
internal/store/phone_change.go
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue