This commit is contained in:
chenbo 2024-02-20 15:33:19 +08:00
parent b3fb33352d
commit a4e47643bb
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ class RemoteRequestLogic extends BaseLogic
{
$response = HttpClient::create()->request('GET', env('PROJECT.MQTT_PROJECT_URL'). 'api/xumu/warning', [
'query' => [
'deviceId' => $device['code']
'deviceId' => $device['code'],
'limit' => 5,
'offset' => 0
]
]);
$monitor = json_decode($response->getContent(), true);