修改邮箱
开发中POST
/api/user/update-email修改用户邮箱,需要验证一遍新的邮箱。
请求参数
Query 参数
id
string
用户id
Body 参数application/json
verification_code
string
验证码
email
string
用户邮箱
示例
{
"verification_code": "string",
"email": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
message
string
状态信息
data
string
响应数据
示例
{
"code": 7,
"message": "non enim sit consectetur reprehenderit",
"data": "qui"
}
修改于 6 个月前