用户信息分页查询
联调中
GET
http://food.atanycosts.cn/user/page
膳食小搭
最后修改时间:2023-02-11 11:38:52
责任人:Atanycosts
请求参数
Query 参数
page
string
必需
示例值:
1
pageSize
string
必需
示例值:
15
name
string
可选
示例值:
小头儿子
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://food.atanycosts.cn/user/page?page=1&pageSize=15&name=小头儿子'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
records
array [object {9}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
orders
array[string]
必需
optimizeCountSql
boolean
必需
hitCount
boolean
必需
countId
null
必需
maxLimit
null
必需
searchCount
boolean
必需
pages
integer
必需
map
object
必需
示例
{
"code": 1,
"msg": "成功",
"data": {
"records": [
{
"id": "1623618037204033537",
"userName": "小头儿子",
"userPhone": "13572341234",
"gender": 0,
"userRole": "user",
"userPassword": "123456",
"createTime": "2023-02-09 17:41:20",
"updateTime": "2023-02-09 17:47:48",
"isDelete": 1
},
{
"id": "1623530668362805250",
"userName": "大头爸爸",
"userPhone": "18066881385",
"gender": 1,
"userRole": "1",
"userPassword": "123456",
"createTime": "2023-02-09 11:54:09",
"updateTime": "2023-02-09 17:06:35",
"isDelete": 1
}
],
"total": 2,
"size": 15,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 1
},
"map": {}
}