From b6e5b825a5dac4c3bca1cbb83e27160fccb6c610 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Thu, 21 May 2026 17:09:00 +0800 Subject: [PATCH] =?UTF-8?q?[STYLE]=20=E5=B0=87=E6=BA=AB=E5=BA=A6=E9=81=8E?= =?UTF-8?q?=E4=BD=8E=E5=91=8A=E8=AD=A6=E5=81=B4=E9=82=8A=E6=A2=9D=E9=A1=8F?= =?UTF-8?q?=E8=89=B2=E8=AA=BF=E6=95=B4=E7=82=BA=E8=AD=A6=E7=A4=BA=E7=B4=85?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/Notification/DiscordWebhookService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Notification/DiscordWebhookService.php b/app/Services/Notification/DiscordWebhookService.php index 959bb50..86225eb 100644 --- a/app/Services/Notification/DiscordWebhookService.php +++ b/app/Services/Notification/DiscordWebhookService.php @@ -99,7 +99,7 @@ class DiscordWebhookService } elseif (str_contains($log->message, 'too low')) { $title = '🔴 ' . $this->cleanTranslation(__('Temperature Alert (Low)'), $companyLocale); $description = $this->cleanTranslation(__('Current temperature (:temp°C) is below the lower limit (:limit°C).', ['temp' => $temp, 'limit' => $limit]), $companyLocale); - $color = 561586; // cyan-600 + $color = 14753096; // rose-600 (與過高告警一致使用紅色) $fields[] = [ 'name' => $this->cleanTranslation(__('Current Temperature'), $companyLocale),