文档
测试

员工列表

POST
/company/user/list

请求参数

参数名
类型
描述
必填
t
string
登录token
必填
pageNow
int
当前页码
必填
pageSize
int
每页显示行数
必填
companyId
long
企业id
必填

响应参数

参数名
类型
描述
必填
data
array
必填
id
long
员工id
必填
name
string
员工名称
必填
phone
string
员工电话
必填
mark
string
描述
必填
userType
int
员工类型(1:企业创建者,2:员工),企业创建者时权限部分默认设置成勾选状态,并且不可修改
必填
count
int
总数
必填
hasNext
boolean
是否有下一页(false:否,true:是)
必填

返回实例

{ "code": "0000", "msg": "操作成功", "data": [ { "id": 36, "headImgUrl": null, "account": null, "name": "陈彬", "phone": "18328381062", "mark": null, "userType": 1, "userId": 9, "companyId": null }, { "id": 89, "headImgUrl": null, "account": null, "name": "测试-12", "phone": "18325363654", "mark": "", "userType": 2, "userId": 66, "companyId": null } ], "success": true, "pageNow": 1, "pageSize": 10, "count": 2, "hasNext": false }