用户列表
开发中GET
/adminapi/user.user/lists请求参数
Query 参数
id
integer
用户ID
示例值:
1
is_distribution
integer
可选
是否为分销商 0-不是 1-是
keyword
string
可选
用户信息(编号/手机号/昵称/邮箱)
Header 参数
token
string
可选
示例值:
{{adminToken}}
Body 参数application/json
object {0}
示例
{}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {11}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 3,
"sn": 94609221,
"nickname": "小明",
"sex": "未知",
"avatar": "https://aa.png",
"account": "u94609221",
"mobile": "13800138001",
"channel": "电脑PC",
"is_blacklist": 0,
"create_time": "2023-12-08 10:19:57",
"total_order_amount": 0
},
{
"id": 2,
"sn": 79418057,
"nickname": "小明",
"sex": "未知",
"avatar": "https://aa.png",
"account": "u79418057",
"mobile": "13800138000",
"channel": "电脑PC",
"is_blacklist": 0,
"create_time": "2023-12-08 10:18:43",
"total_order_amount": 0
},
{
"id": 1,
"sn": 38066348,
"nickname": "用户38066348",
"sex": "未知",
"avatar": "http://www.php-ws.localhost/resource/image/adminapi/default/default_avatar.png",
"account": "fzr001",
"mobile": "",
"channel": "电脑PC",
"is_blacklist": 0,
"create_time": "2023-11-27 16:24:59",
"total_order_amount": 0.01
}
],
"count": 3,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
最后修改时间: 8 个月前