接口名称:
查询用户信息
接口描述:
查询用户信息
请求路径:
/user/get/userInfo
请求方式:
GET
请求参数:
- Header
| 参数名 | 参数值 | 必填 | 描述 |
|---|---|---|---|
| Content-Type | application/x-www-form-urlencoded | Y | application/x-www-form-urlencoded |
- Param
| 参数名 | 类型 | 必选 | 描述 |
|---|---|---|---|
| pageNo | Integer | Y | 页数 |
| rowCount | Integer | Y | 每页行数 |
| openDate | Integer | N | 注册日期(还没使用) |
| status | Integer | N | 状态 1:正常用户 0:黑名单用户 |
| trueName | String | N | 昵称 |
| handphone | String | N | 手机号 |
- Body
请求示例:
&pageNo=null&rowCount=null&openDate=null&status=null&trueName=null&handphone=null
返回参数:
| 参数名 | 类型 | 必选 | 描述 |
|---|---|---|---|
| data | List |
N | 响应内容 |
| └─element | UserInfoVo | Y | |
| └─└─accNo | Integer | Y | 用户号 |
| └─└─truename | String | N | 昵称 |
| └─└─status | Integer | N | 状态 |
| └─└─balance | Integer | N | 余额 |
| └─└─freePrintMoney | Integer | N | 免费打印金额 |
| └─└─sex | Integer | N | 性别 |
| └─└─handphone | String | N | 手机号 |
| └─└─delflag | Integer | N | 删除标识 |
| count | long | N | 总数 |
| code | int | N | 响应码 |
| message | String | N | 响应信息 |
返回示例:
{
"data": {
"records": [
{
"accNo": 163,
"truename": "222",
"status": 1,
"balance": 0,
"freePrintMoney": 0,
"sex": 0,
"handphone": "13588937786",
"delflag": 0
}
],
"total": 1,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 1
},
"code": 0,
"message": "请求成功"
}文档更新时间: 2023-10-11 14:43 作者:吴温立