POST /auth/me/email/change

变更当前用户的邮箱地址,需验证当前密码、新邮箱以及发送验证码

身份认证 `bearerAuth` application/json

请求体

Schema: service-identity/internal/handler/dto.ChangeEmailRequest

字段类型必填示例约束描述
new_email string 是 新邮箱
password string 否 当前密码(可选,*string 兼容三态:缺省/nil/空串 → 走闸门)

响应

状态描述Schema
200操作成功service-core/base/dto.SimpleResponse

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否