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

{
    "siteId":190,
    "productId":709,
    "productCode":"Yiwfue",
    "productName":"cGCSyE",
    "alarmTotalCount":0,
    "pushTotalCount":0,
    "uploadMessageTotalCount":0,
    "downloadMessageTotalCount":0,
    "page":1,
    "size":10
}


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

{
        "siteId":707,
        "productId":130,
        "productCode":"eKWzZy",
        "productName":"0F6Mab",
        "alarmTotalCount":0,
        "pushTotalCount":0,
        "uploadMessageTotalCount":0,
        "downloadMessageTotalCount":0,
        "year":580,
        "month":584,
        "day":16,
}

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

###设备消息统计查看
GET {{baseUrl}}/device/message/stat/info?id={{DeviceMessageStat_id}}
Accept: application/json

###设备消息统计编辑
GET {{baseUrl}}/device/message/stat/edit?id={{DeviceMessageStat_id}}
Accept: application/json


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




