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

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


###门禁设备更新与保存
POST {{baseUrl}}/door/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "deviceName":"4e70lu",
        "deviceCode":"zbjw2n",
        "ip":"g4erpw",
        "port":282,
        "username":"7wld4o",
        "password":"431xcj",
}

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

###门禁设备查看
GET {{baseUrl}}/door/info?id={{Door_id}}
Accept: application/json

###门禁设备编辑
GET {{baseUrl}}/door/edit?id={{Door_id}}
Accept: application/json


###门禁设备删除
GET {{baseUrl}}/door/delete?id={{Door_id}}
Authorization: {{authToken}}
Accept: application/json




