16 lines
449 B
JavaScript
16 lines
449 B
JavaScript
|
import { stationurl,h5sUser,h5sPassword,h5sUrl } from "../../../../public/js/url.js";
|
||
|
function getDeviceSummary(){
|
||
|
var data={
|
||
|
"user":h5sUser,
|
||
|
"password":h5sPassword,
|
||
|
"url":h5sUrl
|
||
|
}
|
||
|
// var summaryurl=stationurl+`/ai/h5s/getDeviceSummary`;
|
||
|
var summaryurl=stationurl+`/ai/h5s/devices/state`;
|
||
|
return axios({
|
||
|
method: 'post',
|
||
|
url:summaryurl,
|
||
|
data:data
|
||
|
})
|
||
|
}
|
||
|
export {getDeviceSummary}
|