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

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


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

{
        "siteId":978,
        "siteName":"j7tpby",
        "deviceId":"6wsdhm",
        "deviceName":"d7nx89",
        "deviceCode":"hrr7ao",
        "deviceMac":"pg5lan",
        "deviceLocation":"2",
        "lon":"rsd4p6",
        "lati":"hmdznh",
        "floor":561,
        "build":205,
        "leadingOfficial":"95estz",
        "leadingOfficialTelephone":"b0c6im",
        "timeOutPeriod":71,
        "nearTime":947,
        "deviceStatus":480,
        "deviceRemark":"6imei2",
}

> {%
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




