实现分发器模块

- 添加分发器类型定义 (distributor.ts)
- 实现分发器基类 (base.distributor.ts)
- 实现邮件分发器 (email.distributor.ts)
- 实现钉钉分发器 (dingtalk.distributor.ts)
- 实现企业微信分发器 (wechat.distributor.ts)
- 实现 Slack 分发器 (slack.distributor.ts)
- 创建分发器工厂 (distributor.factory.ts)
- 实现分发服务 (distributor.service.ts)
- 安装 nodemailer 依赖

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hughhuangandClaude Opus 4.5 committed 2026-02-04 21:32:54 +08:00
1 parent 75c765af93
commit 5746676819
11 files changed
+562

No files matched your search

+2
View File
@@ -22,6 +22,7 @@
"dotenv": "^17.2.3",
"fastify": "^5.7.4",
"node-cron": "^4.2.1",
"nodemailer": "^8.0.0",
"openai": "^6.17.0",
"playwright": "^1.58.1",
"prisma": "^5.22.0",
@@ -31,6 +32,7 @@
"devDependencies": {
"@types/node": "^25.2.0",
"@types/node-cron": "^3.0.11",
"@types/nodemailer": "^7.0.9",
"nodemon": "^3.1.11",
"tsx": "^4.21.0",
"typescript": "^5.9.3"