v0.3.31: 全局配置保留title/content仅移除level/priority;推送用户SMTP只显示收件人

This commit is contained in:
2026-05-17 19:37:52 +08:00
parent 4c46685d1f
commit 389df53d2d
49 changed files with 140 additions and 100 deletions

View File

@@ -2,7 +2,9 @@ import { Notifier, NotifyParams, NotifyResult, NotifierParam } from './notifier.
const params: NotifierParam[] = [
{ key: 'server', label: '服务器地址', type: 'url', required: true, placeholder: 'https://gotify.example.com' },
{ key: 'token', label: 'App Token', type: 'password', required: true, placeholder: 'Gotify App Token' }
{ key: 'token', label: 'App Token', type: 'password', required: true, placeholder: 'Gotify App Token' },
{ key: 'title', label: '标题', type: 'text', default: 'CloudSearch', required: false },
{ key: 'content', label: '内容', type: 'text', required: true }
];
export const gotifyNotifier: Notifier = {