###登录
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

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


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

{
        "name":"h3bhgu",
        "gender":1,
        "birthday":"1694966400000",
        "photoPath":"c7tlh0",
        "Email":"gffhy4",
        "phoneNumber":"ssiels",
        "idCard":"1irna4",
        "workNum":"bvdycp",
        "companyIds":"jqzltw",
        "companyName":"s7lxdy",
        "positionId":590,
        "positionName":"1b65wx",
        "staffType":1,
        "staffStatus":1,
        "source":1,
        "registerPath":"dvn5h5",
        "entryDate":"1694966400000",
        "regularDate":"1694966400000",
        "leaveDate":"1694966400000",
        "remark":"rt930e",
        "sumViews":0,
        "viewsByDay":0,
        "sendBusinessCardTimes":0,
}

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

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

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


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




