缩短弹窗通知显示时间

This commit is contained in:
pllx
2026-05-05 22:03:18 +08:00
parent 645fe2a830
commit 41522393de
9 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -506,7 +506,7 @@ class ChatController extends Controller
'message' => strip_tags($pureContent),
'icon' => '👋',
'color' => '#e11d48',
'duration' => 8000,
'duration' => 3000,
];
}
@@ -1425,7 +1425,7 @@ class ChatController extends Controller
'message' => '<b>'.ChatContentSanitizer::htmlText($sender->username)."</b> 向你赠送了 <b>{$amount}</b> 枚金币!",
'icon' => '💰',
'color' => '#f59e0b',
'duration' => 8000,
'duration' => 3000,
],
];