This commit is contained in:
@@ -17,8 +17,8 @@ import (
|
||||
)
|
||||
|
||||
// DeleteAccountHandler 注销账号处理器
|
||||
// 根据当前token删除所有关联设备,然后根据各自设备ID重新新建账号
|
||||
// 新增:需携带邮箱验证码,验证通过后执行注销
|
||||
// 仅执行注销登录与家庭退出/解散,不删除账号主体。
|
||||
// 需携带邮箱验证码,验证通过后执行。
|
||||
type deleteAccountReq struct {
|
||||
Email string `json:"email" binding:"required,email"` // 用户邮箱
|
||||
Code string `json:"code" binding:"required"` // 邮箱验证码
|
||||
|
||||
Reference in New Issue
Block a user