From a4e47643bbc24edaddd1be7b3055e3be4cdbe7d3 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 20 Feb 2024 15:33:19 +0800 Subject: [PATCH] update --- app/common/logic/RemoteRequestLogic.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/common/logic/RemoteRequestLogic.php b/app/common/logic/RemoteRequestLogic.php index 76a7aa9..2ea6849 100644 --- a/app/common/logic/RemoteRequestLogic.php +++ b/app/common/logic/RemoteRequestLogic.php @@ -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);