文档
测试

获取员工列表

GET
/api/restaurant_machine/employee/list

请求头

参数名
类型
描述
必填
token
string
token
必填

请求参数

参数名
类型
描述
必填
shopId
long
门店ID
必填
keyword
string
搜索关键字
必填
page
int
当前页
必填
limit
int
每页的条数
必填

响应参数

参数名
类型
描述
必填
employeeName
string
员工姓名
必填
employeeNumber
string
员工工号
必填
phone
string
电话号码
必填
shopId
long
所属公司
必填
position
string
职位
必填
salary
string
薪水
必填
profitSharing
string
分红占比
必填
profitSharingTime
string
分红日期
必填
status
int
在职状态1在职,2离职
必填
sex
int
性别0:男,1女
必填
birthday
string
出生日期
必填
idCard
string
身份证号
必填
remarks
string
备注
必填

说明 / 示例

{ "total":0, "code": 0, "data": { "id": 1, "employeeName": "李四", "employeeNumber": "1234", "phone": "1300000000", "shopId": 1, "position": "1", "salary": "8000", "profitSharing": "0.5", "profitSharingTime": "2021-09-13 16:18:56", "status": 1, "sex": 1, "birthday": "1995-07-14 16:19:09", "idCard": "51269519950714254x", "remarks": "111", "createdTime": "2021-09-16 16:19:49", "updateTime": "2021-09-16 16:19:53" }, "message": "success" }