Add Wecom Notification

添加了企业微信推送通道的设置选项
This commit is contained in:
umbor
2023-06-04 11:11:19 +08:00
parent b731c0823f
commit 6eebe84aae
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import type { SettingItem } from '#/components';
const { getSettingGroup } = useConfigStore();
const notification = getSettingGroup('notification');
const notificationType: NotificationType = ['telegram', 'server-chan', 'bark'];
const notificationType: NotificationType = ['telegram', 'server-chan', 'bark', 'wecom'];
const items: SettingItem<Notification>[] = [
{

View File

@@ -43,7 +43,7 @@ export interface Config {
};
notification: {
enable: boolean;
type: 'telegram' | 'server-chan' | 'bark';
type: 'telegram' | 'server-chan' | 'bark' | 'wecom';
token: string;
chat_id: string;
};