简要描述:
- 修改状态
action
域名 /admin/user/clerk_list
返回示例:
正确时返回:
{
"result": 1,
"msg": '成功'
"data": [
{
uid: 2,
username: "123",
status: 2,
type: 3,
remark: "123",
application_number: 123,
endtime: 123,
owner_uid: 0,
salt: "bgVJvOxU",
joinip: "127.0.0.1",
lastvisit: 1552616775,
lastip: "127.0.0.1",
created_at: "1552616775",
updated_at: "1552634134",
deleted_at: null,
state : "有效"
has_one_profile: {
id: 2,
uid: 2,
realname: "",
avatar: "",
mobile: "123",
created_at: "2019-03-15 10:26:15",
updated_at: "2019-03-15 10:26:15",
deleted_at: null
},
has_one_app_user: {
id: 2,
uniacid: 2,
uid: 2,
role: "clerk",
rank: 0,
app_name: "测试2",
role_name: "店员",
has_one_app: {
id: 2,
img: "http://dev8.yunzshop.com/storage/app/public/201903126e4e5917d595ee2db77d3f5542bb8bed.png",
name: "测试2",
validity_time: 1553961600,
status: 1,
url: "https://dev8.yunzshop.com",
creator: 1,
status_name: "启用"
}
}
}
]
错误时返回:
{
"result": 0,
"msg": '未获取到店员信息'
"data": ""
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 用户id |
username | string | 用户名 |
has_one_profile.mobile | int | 手机号 |
has_one_app_user.app_name | string | 所属平台 |
create_at | string | 注册时间 |
state | string | 状态 |
备注:
- 更多返回错误代码请看首页的错误代码描述