简要描述:
- 平台用户列表
请求域名:
- http://yunzshop.com
请求URL:
/admin/appuser
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
name | 否 | string | 用户名 |
uid | 否 | int | 用户id |
uniacid | 是 | int | 平台id |
返回示例:
正确时返回:
{
result: 1,
msg: "获取成功",
data: {
total: 2,
per_page: 15,
current_page: 1,
last_page: 1,
next_page_url: null,
prev_page_url: null,
from: 1,
to: 2,
data: [{
id: 2,
uniacid: 2,
uid: 2,
role: "manager",
rank: 0,
role_name: "管理员",
has_one_user: {
uid: 2,
username: "adminz",
status: 2,
type: 1,
remark: "",
application_number: 0,
endtime: 0,
owner_uid: 0,
salt: "",
joinip: "",
lastvisit: 0,
lastip: "",
created_at: "1552554738",
updated_at: "1552554738",
deleted_at: null
}
}, {
id: 1,
uniacid: 1,
uid: 1,
role: "manager",
rank: 0,
role_name: "管理员",
has_one_user: {
uid: 1,
username: "admin",
status: 2,
type: 1,
remark: "",
application_number: 0,
endtime: 0,
owner_uid: 0,
salt: "",
joinip: "",
lastvisit: 0,
lastip: "",
created_at: "1552550668",
updated_at: "1552550668",
deleted_at: null
}
}]
}
}
### 返回参数说明:
|参数名|类型|说明|
|:----- |:-----|-----|
### 备注:
- 更多返回错误代码请看首页的错误代码描述