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

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


###工作人员更新与保存
POST {{baseUrl}}/workman/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "deptId":1,
        "deptName":"技术部",
        "name":"李林琳",
        "number":"9527",
        "phone":"13088088888",
        "photoPath":"http://sy.scsmile.cn/YX-JXgl/v1.0/HT/images/%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/u11719.png"
}

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

###工作人员查看
GET {{baseUrl}}/workman/add
Accept: application/json

###工作人员编辑
GET {{baseUrl}}/workman/edit?id={{Workman_id}}
Authorization: {{authToken}}
Accept: application/json


###工作人员删除
GET {{baseUrl}}/workman/delete?id={{Workman_id}}
Authorization: {{authToken}}
Accept: application/json




