From 0532d7c8b826a9c15b2cabe43f565644782d75b7 Mon Sep 17 00:00:00 2001 From: yyhuni Date: Sat, 10 Jan 2026 10:29:33 +0800 Subject: [PATCH] feat(notifications): add WeChat Work (WeChat Enterprise) notification support - Add wecom notification channel configuration to mock notification settings - Initialize wecom with disabled state and empty webhook URL by default - Update notification settings response to include wecom configuration - Enable WeChat Work as an alternative notification channel alongside Discord --- frontend/mock/data/notification-settings.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/mock/data/notification-settings.ts b/frontend/mock/data/notification-settings.ts index 871c66fb..99fa6bd9 100644 --- a/frontend/mock/data/notification-settings.ts +++ b/frontend/mock/data/notification-settings.ts @@ -9,6 +9,10 @@ export const mockNotificationSettings: NotificationSettings = { enabled: true, webhookUrl: 'https://discord.com/api/webhooks/1234567890/abcdefghijklmnop', }, + wecom: { + enabled: false, + webhookUrl: '', + }, categories: { scan: true, vulnerability: true, @@ -30,6 +34,7 @@ export function updateMockNotificationSettings( return { message: 'Notification settings updated successfully', discord: mockNotificationSettings.discord, + wecom: mockNotificationSettings.wecom, categories: mockNotificationSettings.categories, } }