文档
测试
POST
/api/restaurant_machine/employee/update

请求参数

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

请求示例

{ "birthday": "2021-08-23T02:15:16.815Z", "companyId": 0, "createdTime": "2021-08-23T02:15:16.815Z", "employeeName": "测试", "employeeNumber": "测试", "id": 0, "idCard": "513911xxxxxxx", "phone": "13xxxxxxxxx", "position": "经理", "profitSharing": "0.8", "profitSharingTime": "2021-08-23T02:15:16.815Z", "remarks": "测试", "salary": "80000", "sex": 0, "status": 1, "updateTime": "2021-08-23T02:15:16.815Z" }

说明 / 示例

{ "total":0, "code": 0, "message": "success" }