feat: configure max notification items

This commit is contained in:
2026-05-07 00:10:35 +08:00
parent ad48715664
commit 6c8fdc861f
6 changed files with 62 additions and 4 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ app.post('/api/notify-test', async (req, res) => {
const task = { id: 'notify-test', name: '通知渠道测试' };
const summary = {
minScore: Number(config.minScore ?? 75),
maxNotifyItems: 1,
maxNotifyItems: config.maxNotifyItems ?? 1,
total: 1,
recommendedCount: 1,
cautionCount: 0,