feat: 重构消息服务,替换消息记录服务为消息服务,更新相关依赖和逻辑
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 20s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
2026-01-10 17:47:09 +08:00
parent b757f18765
commit 6a9c879dee
4 changed files with 17 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ public class BudgetService(
ITransactionRecordRepository transactionRecordRepository,
IOpenAiService openAiService,
IConfigService configService,
IMessageRecordService messageService,
IMessageService messageService,
ILogger<BudgetService> logger
) : IBudgetService
{
@@ -398,7 +398,8 @@ public class BudgetService(
await messageService.AddAsync(
title: $"{year}年{month}月 - 预算归档报告",
content: htmlReport,
type: MessageType.Html);
type: MessageType.Html,
url: "/balance?tab=message");
}
}
catch (Exception ex)