Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 645 Bytes

updateUserInfo.md

File metadata and controls

42 lines (30 loc) · 645 Bytes

更新当前用户信息

1、请求地址:/api/updateUserInfo

2、请求方式:POST

3、请求参数

参数 类型 必须 说明
avatar_url string 头像url
before_expire_days int 过期前多少天提醒
email_list string 邮件列表

4、返回参数

5、请求示例

POST {{baseUrl}}/api/updateDomainById
Content-Type: application/json
X-Token: <token>

{
  "avatar_url": "https://www.image.com/image.png",
  "email_list": ["[email protected]"],
  "before_expire_days": 1
}

6、返回示例

{
  "code": 0,
  "data": null,
  "msg": "success"
}