From 72bb33e634b2754891af2b7743311b1918dc6117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Wed, 18 Mar 2026 12:31:33 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[notification]=20=EC=95=8C=EB=A6=BC?= =?UTF-8?q?=EC=9D=8C=20=ED=8C=8C=EC=9D=BC=20=EC=84=9C=EB=B9=99=20+=20?= =?UTF-8?q?=EC=9D=91=EB=8B=B5=EC=97=90=20soundUrls=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - public/sounds/에 default.wav, sam_voice.wav 배치 (MNG에서 복사) - getGroupedSettings() 응답에 _soundUrls 맵 추가 (절대 URL) --- app/Services/NotificationSettingService.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Services/NotificationSettingService.php b/app/Services/NotificationSettingService.php index 4ba1e401..0b56ed28 100644 --- a/app/Services/NotificationSettingService.php +++ b/app/Services/NotificationSettingService.php @@ -284,6 +284,13 @@ public function getGroupedSettings(): array $result[$groupCode] = $groupData; } + // 음원 URL 맵 추가 + $baseUrl = rtrim(config('app.url'), '/'); + $result['_soundUrls'] = [ + 'default' => $baseUrl.'/sounds/default.wav', + 'sam_voice' => $baseUrl.'/sounds/sam_voice.wav', + ]; + return $result; }