- 后台端
- 公共管理
- 文章管理
- 登录管理
- 代码生成
- 权限管理
- 系统监控
- 通知设置
- 短信设置
- 系统设置
- 渠道设置
- 装修管理
- 用户管理
- 计划任务
- 财务管理
- 营销管理
- 手机端
- 电脑端
用户列表
GET
/api/user/list
请求参数
Query 参数
keyword
string
搜索关键词
示例值:
小红
channel
string
可选
示例值:
1
startTime
string
开始日期
示例值:
2022-09-08 00:00:00
endTime
string
结束日期
示例值:
2022-09-09 00:00:00
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://java-admin.likeadmin.cn//api/user/list'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
count
integer
必需
pageNo
integer
必需
pageSize
integer
必需
lists
array [object {12}]
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"count": 3,
"pageNo": 1,
"pageSize": 20,
"lists": [
{
"id": 14,
"sn": 41132062,
"avatar": "",
"realName": "",
"nickname": "用户41132062",
"username": "u41132062",
"mobile": "",
"sex": "未知",
"channel": "微信小程序",
"lastLoginIp": "172.20.112.1",
"lastLoginTime": "2022-09-08 09:55:02",
"createTime": "2022-09-08 09:55:02"
},
{
"id": 10,
"sn": 15836381,
"avatar": "",
"realName": "",
"nickname": "用户15836381",
"username": "a1234",
"mobile": "",
"sex": "未知",
"channel": "微信公众号",
"lastLoginIp": "",
"lastLoginTime": "1970-01-01 08:00:00",
"createTime": "2022-09-05 17:40:44"
},
{
"id": 1,
"sn": 98758469,
"avatar": "",
"realName": "红红",
"nickname": "红花",
"username": "u98758469",
"mobile": "15627119239",
"sex": "未知",
"channel": "微信小程序",
"lastLoginIp": "172.16.1.7",
"lastLoginTime": "2022-09-05 17:35:19",
"createTime": "2022-09-05 16:10:02"
}
]
}
}
修改于 2023-06-01 06:46:29