From 3ad67a16102f56d0fc85f0ed870586214f7439c6 Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 27 Feb 2026 17:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=8D=95=E6=AC=A1=E7=89=B9=E6=95=88=E5=8D=A1=E7=9A=84=E5=85=AC?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E6=92=AD=E6=96=87=E6=A1=88=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E8=AE=A9=E5=A4=A7=E5=AE=B6=E8=AF=AF=E4=BB=A5=E4=B8=BA?= =?UTF-8?q?=E6=98=AF=E8=B5=A0=E9=80=81=E4=BA=86=E9=81=93=E5=85=B7=E5=8D=A1?= =?UTF-8?q?=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/ShopController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ShopController.php b/app/Http/Controllers/ShopController.php index 14a9620..4300a9e 100644 --- a/app/Http/Controllers/ShopController.php +++ b/app/Http/Controllers/ShopController.php @@ -110,11 +110,11 @@ class ShopController extends Controller 'lightning' => '⚡', 'snow' => '❄️', ]; - // 赠礼消息文案(简洁精美) + // 赠礼消息文案(改成“为XX触发了一场特效”) $icon = $icons[$result['play_effect']] ?? '✨'; $toStr = $targetUsername ? "【{$targetUsername}】" : '全体聊友'; $remarkPart = $message ? " 「{$message}」" : ''; - $sysContent = "{$icon} {$user->username} 送了一张【{$item->name}】给 {$toStr}!{$remarkPart}"; + $sysContent = "{$icon} {$user->username} 为 {$toStr} 燃放了一场【{$item->name}】特效!{$remarkPart}"; // 广播系统消息到公屏(字段名与前端 appendMessage() 保持一致) $sysMsgEvent = new MessageSent(