From f6f4e5e007a7e7357c3e89b3e3db43f66a3360f9 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 20 Dec 2023 18:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20app/api/controller/IndexCo?= =?UTF-8?q?ntroller.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复错误 --- app/api/controller/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/IndexController.php b/app/api/controller/IndexController.php index 10136f03..afd5dd81 100644 --- a/app/api/controller/IndexController.php +++ b/app/api/controller/IndexController.php @@ -71,7 +71,7 @@ class IndexController extends BaseApiController ]; $monitorThreshold = MonitorThreshold::select(); if($monitorThreshold){ - $monitorThreshold=$monitorThreshold->toArray()[0] + $monitorThreshold=$monitorThreshold->toArray()[0]; }else{ $monitorThreshold=[]; }