- 出行纪元APP-API
- APP系统数据
- 用户模块
- 收货地址
- 购物车
- 商品收藏
- 优惠券
- 视频
- 足迹
- 收藏
- 关注/粉丝
- 设置备注
- 资料相关
- 设置相关
- 新建合集
- 金币打赏
- 补充相关
- 闪照
- 博客音乐
- 热闻模块
- 公用接口
- 登录退出
- 视频模块
- 商城模块
- 第三方API
- 微信支付
修改用户信息
POST
/app/user/api/v1/edit/info
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
careerId
null
必需
nickName
string
必需
avatar
null
必需
sex
string
必需
introduction
null
必需
birthday
string
必需
provinceId
null
必需
cityId
null
必需
areaId
null
必需
enrolDate
null
必需
carName
null
必需
schoolName
null
必需
示例
{
"careerId": null,
"nickName": "string",
"avatar": null,
"sex": "string",
"introduction": null,
"birthday": "string",
"provinceId": null,
"cityId": null,
"areaId": null,
"enrolDate": null,
"carName": null,
"schoolName": null
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://47.93.16.76:8080/app/user/api/v1/edit/info' \
--header 'Content-Type: application/json' \
--data-raw '{
"careerId": null,
"nickName": "string",
"avatar": null,
"sex": "string",
"introduction": null,
"birthday": "string",
"provinceId": null,
"cityId": null,
"areaId": null,
"enrolDate": null,
"carName": null,
"schoolName": null
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
示例
{
"msg": "操作成功",
"code": 200
}
修改于 2024-01-20 01:52:10