更新邮件解析服务,添加主题参数以增强解析能力;修改HTML文件以支持PWA和优化视图设置
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 18s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s

This commit is contained in:
孙诚
2025-12-25 13:40:26 +08:00
parent 728c39f43d
commit b14efd8d16
5 changed files with 32 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
public interface IEmailParseServices
{
bool CanParse(string from, string body);
bool CanParse(string from, string subject, string body);
/// <summary>
/// 解析邮件内容,提取交易信息
@@ -22,7 +22,7 @@ public abstract class EmailParseServicesBase(
IOpenAiService openAiService
) : IEmailParseServices
{
public abstract bool CanParse(string from, string body);
public abstract bool CanParse(string from, string subject, string body);
public async Task<(
string card,