###登录
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/list
Content-Type: application/json

{
    "phoneNumber": "%133%",
    "page":1,
    "size":10
}


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

{
        "name":"b9dh9g",
        "gender":1,
        "birthday":"1680796800000",
        "photoPath":"9x7x48",
        "phoneNumber":"6m3ec2",
        "idCard":"0nm8jc",
        "workNum":"93dgk3",
        "politicalstatus":1,
        "deptId":226,
        "deptName":"wotn9w",
        "positionId":192,
        "positionName":"q3hbzk",
        "staffType":1,
        "status":1,
        "registerPath":"pu00kt",
        "entryDate":"1680796800000",
        "regularDate":"1680796800000",
        "leaveDate":"1680796800000",
        "remark":"g4kftd"
}

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

###员工基本信息查看
GET {{baseUrl}}/staff/info?id=1
Authorization: {{authToken}}
Accept: application/json


###员工基本信息编辑
GET {{baseUrl}}/staff/edit?id={{Staff_id}}
Authorization: {{authToken}}
Accept: application/json


###员工基本信息删除
GET {{baseUrl}}/staff/delete?id={{Staff_id}}
Authorization: {{authToken}}
Accept: application/json




