###登录
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
Authorization: {{authToken}}
Content-Type: application/json

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


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

{
        "roomId":636,
        "roomName":"ok84k9",
        "deptName":"7fyjjg",
        "name":"745jfn",
        "sex":0,
        "userPost":"a5vlhe",
        "phone":"89g9yx",
        "mobile":"nv1wop",
        "summary":"fg6vq5",
        "photoPath":"sskqou",
        "workStatus":"fxinun",
}

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

###工作人员查看
GET {{baseUrl}}/workman/info?id={{Workman_id}}
Authorization: {{authToken}}
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



###工作人员登录
POST {{baseUrl}}/workman/doLogin
Content-Type: application/json

{
  "loginName":"ceshi",
  "loginPwd":"11"
}

###工作人员密码修改
POST {{baseUrl}}/workman/person/change/password
Content-Type: application/json

{
  "loginName":"ceshi",
  "oldPwd":"admin",
  "newPwd":"11"
}




