###登录
POST {{baseLogin}}/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}}/sitestat/list
Content-Type: application/json

{
    "siteId":1,
    "page":1,
    "size":10
}
###站点统计树
GET {{baseUrl}}/sitestat/siteTree
Authorization: {{authToken}}
Content-Type: application/json

{}



###站点统计更新与保存
POST {{baseUrl}}/sitestat/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "siteId":1,
        "siteCode":"测试站点1",
        "siteName":"510105521000-0001",
        "deviceTotal":2,
        "onlineCount":2,
        "offlineCount":3,
        "stopCount":2,
        "unActiveCount":1
}

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

###站点统计查看
GET {{baseUrl}}/sitestat/info?id={{Sitestat_id}}
Authorization: {{authToken}}
Accept: application/json

###站点统计编辑
GET {{baseUrl}}/sitestat/edit?id={{Sitestat_id}}
Authorization: {{authToken}}
Accept: application/json


###站点统计删除
GET {{baseUrl}}/sitestat/delete?id={{Sitestat_id}}
Authorization: {{authToken}}
Accept: application/json




