###登录
POST {{baseUrl}}/login/login
Content-Type: application/json

{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}

> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}

###员工入职信息列表
POST {{baseUrl}}/staff/onboard/list
Content-Type: application/json

{
    "page":1,
    "size":10
}


###员工入职信息更新与保存
POST {{baseUrl}}/staff/onboard/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "staffId":41,
        "staffName":"x2t0e0",
        "gender":1,
        "birthday":"1689436800000",
        "photoPath":"5yrbfh",
        "phoneNumber":"0u5r86",
        "idCard":"4d9xj3",
        "workNum":"37mcc3",
        "filePath":"s8j5i3",
        "politicalstatus":1,
        "deptId":862,
        "deptName":"t6ei4m",
        "jobId":69,
        "jobName":"g088vz",
        "staffType":1,
        "onBoardStatus":1,
        "entryDate":"1689436800000",
}

> {%
client.global.set("StaffOnboard_id", JSON.parse(response.body).data.id);
%}

###员工入职信息查看
GET {{baseUrl}}/staff/onboard/info?id={{StaffOnboard_id}}
Accept: application/json

###员工入职信息编辑
GET {{baseUrl}}/staff/onboard/edit?id={{StaffOnboard_id}}
Accept: application/json


###员工入职信息删除
GET {{baseUrl}}/staff/onboard/delete?id={{StaffOnboard_id}}
Authorization: {{authToken}}
Accept: application/json




