v0.3.31: 全局配置保留title/content仅移除level/priority;推送用户SMTP只显示收件人
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { Notifier, NotifyParams, NotifyResult, NotifierParam } from './notifier.types';
|
||||
|
||||
const params: NotifierParam[] = [
|
||||
{ key: 'url', label: 'Webhook URL', type: 'url', required: true, placeholder: 'https://example.com/webhook' }
|
||||
{ key: 'url', label: 'Webhook URL', type: 'url', required: true, placeholder: 'https://example.com/webhook' },
|
||||
{ key: 'title', label: '\u6807\u9898', type: 'text', default: 'CloudSearch', required: false },
|
||||
{ key: 'content', label: '\u5185\u5bb9', type: 'text', required: true }
|
||||
];
|
||||
|
||||
export const webhookNotifier: Notifier = {
|
||||
|
||||
Reference in New Issue
Block a user