[
{
"guid": "{% mock 'uuid' %}",
"name": "设备{% mock 'timestamp' %}",
"location": "{{$location.nearbyGPSCoordinateLatitude}} {{$location.nearbyGPSCoordinateLongitude}} 0",
"status": 1,
"percent": {% mock 'float', min=0, max=2, dmin=2, dmax=2 %},
"temperature": {% mock 'integer', -20, 20 %},
"windlevel": "一级",
"level": "一级",
"childerlock": {% mock 'integer', 0, 1 %},
"powerconsumption": "{% mock 'float', min=0, max=0, dmin=2, dmax=2 %}°"
}
]curl --location 'http://192.168.100.38:48083/bv-universal-gateway/api/accessGateway/deviceReport/OWqrR0cJzMLvx8DJ' \
--header 'Content-Type: application/json' \
--data '[
{
"guid": "{% mock '\''uuid'\'' %}",
"name": "设备{% mock '\''timestamp'\'' %}",
"location": "{{$location.nearbyGPSCoordinateLatitude}} {{$location.nearbyGPSCoordinateLongitude}} 0",
"status": 1,
"percent": {% mock '\''float'\'', min=0, max=2, dmin=2, dmax=2 %},
"temperature": {% mock '\''integer'\'', -20, 20 %},
"windlevel": "一级",
"level": "一级",
"childerlock": {% mock '\''integer'\'', 0, 1 %},
"powerconsumption": "{% mock '\''float'\'', min=0, max=0, dmin=2, dmax=2 %}°"
}
]'{
"code": 0,
"message": "string",
"info": null
}