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

{"deviceCode":"B8-13-32-86-8F-A8","page":1,"size":-1}


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

{
        "deviceId":213,
        "deviceName":"o8f2uk",
        "deviceCode":"hojug5",
        "deviceMac":"qblxmm",
        "siteId":624,
        "siteCode":"vwcmg0",
        "siteName":"1ezg8h",
        "productCode":"gu9tca",
        "productName":"wmia1a",
        "deviceSrc":2,
        "lon":"xw3n3b",
        "lati":"296er9",
        "leadingOfficial":"mrsrnp",
        "leadingOfficialTelephone":"mh03sk",
        "deviceStatus":402,
        "deviceRemark":"ircxre",
        "source":1,
}

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

###设备查看
GET {{baseUrl}}/device/info?id={{Device_id}}
Authorization: {{authToken}}
Accept: application/json

###设备编辑
GET {{baseUrl}}/device/edit?id={{Device_id}}
Authorization: {{authToken}}
Accept: application/json


###设备删除
GET {{baseUrl}}/device/delete?id={{Device_id}}
Authorization: {{authToken}}
Accept: application/json




