企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
+++ post:v001/Login/edit *varchar:token#签名 *varchar:nickname#昵称 *int:sex#性别0:请选择1:男2:女3:保密 *int:age#年龄 *varchar:introduce#简介 varchar:path#图片路径 varchar:file#图片名称 <<< 请求成功 { "data": { "data": { "uid": 1, "phone": "13800138001", "avatar": "", "nickname": "王叔叔", "sex": 1, "age": 28, "introduce": "踩踩踩踩踩踩踩踩", "level": 0, "balance": 0, "score": 0, "mention": 0 }, "message": "资料修改成功" }, "code": 200, "time": 1505441278, "content": { "nickname": "王叔叔", "age": "28", "sex": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "nickname": "王叔叔", "age": "28", "sex": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "nickname": "王叔叔", "age": "28", "sex": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "nickname": "王叔叔", "age": "28", "sex": "1" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示消息 | | #### 请求成功 data['data']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | uid | 用户ID | | | phone | 手机号 | | | avatar | 头像 | | | nickname | 昵称 | | | sex | 性别 | | | age | 年龄 | | | introduce | 介绍 | | | level | 等级 | | | balance | 余额 | | | score | 积分 | | | mention | 提现 | |