perf: 通知支持vocechat、bark、telegram、discord、slack

This commit is contained in:
xiaojunnuo
2024-11-26 15:13:57 +08:00
parent cbccd9e3d0
commit 642f57ff6d
16 changed files with 315 additions and 19 deletions
@@ -98,14 +98,14 @@ export abstract class BaseNotification implements INotification {
await this.send({
userId: 0,
title: "【Certd】测试通知",
content: "测试通知\n\n查看详情:http://www.baidu.com",
content: "测试通知",
pipeline: {
id: 1,
title: "测试流水线",
} as any,
pipelineId: 1,
historyId: 1,
url: "http://www.baidu.com",
url: "https://certd.docmirror.cn",
});
}
}