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

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


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

{
        "deviceTotalCount":0,
        "deviceAddCount":0,
        "siteTotalCount":0,
        "siteAddCount":0,
        "deviceOnlineCount":0,
        "deviceOnlineRatio":0.00,
        "deviceOfflineCount":0,
        "deviceOfflineRatio":0.00,
        "deviceStopCount":0,
        "deviceStopRatio":0.00,
        "alarmTotalCount":0,
        "alarmAddCount":0,
        "pushTotalCount":0,
        "pushAddCount":0,
        "uploadMessageTotalCount":0,
        "downloadMessageTotalCount":0,
        "year":164,
        "month":627,
        "day":805,
}

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

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

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


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




