2025-12-25 11:20:56 +08:00
|
|
|
{
|
|
|
|
|
"Logging": {
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
"DefaultConnection": "Data Source=database/EmailBill.db"
|
|
|
|
|
},
|
|
|
|
|
"Serilog": {
|
|
|
|
|
"MinimumLevel": {
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
"Override": {
|
|
|
|
|
"Microsoft": "Warning",
|
|
|
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"WriteTo": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "Console"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "File",
|
|
|
|
|
"Args": {
|
|
|
|
|
"path": "logs/log-.txt",
|
|
|
|
|
"rollingInterval": "Day",
|
|
|
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"Enrich": ["FromLogContext"]
|
|
|
|
|
},
|
|
|
|
|
"EmailSettings": {
|
|
|
|
|
"CheckIntervalMinutes": 1,
|
|
|
|
|
"SmtpList": [
|
|
|
|
|
{
|
|
|
|
|
"Name": "SC",
|
|
|
|
|
"Email": "779343834@qq.com",
|
|
|
|
|
"Password": "zxjkkkilfdgvbfjf",
|
|
|
|
|
"ImapHost": "imap.qq.com",
|
|
|
|
|
"ImapPort": 993,
|
|
|
|
|
"UseSsl": true
|
2025-12-27 16:54:08 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Name": "SYE",
|
|
|
|
|
"Email": "1390853363@qq.com",
|
|
|
|
|
"Password": "bmoumfqeyopribec",
|
|
|
|
|
"ImapHost": "imap.qq.com",
|
|
|
|
|
"ImapPort": 993,
|
|
|
|
|
"UseSsl": true
|
2025-12-25 11:20:56 +08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"FilterFromAddresses": [
|
|
|
|
|
"95555@message.cmbchina.com",
|
|
|
|
|
"ccsvc@message.cmbchina.com"
|
|
|
|
|
]
|
2025-12-25 13:27:23 +08:00
|
|
|
},
|
|
|
|
|
"JwtSettings": {
|
|
|
|
|
"SecretKey": "6CA57F7D-B73F-AABC-007C-D2DF98E319DF-07802A80-1982-64CD-1CFE-466728053850",
|
|
|
|
|
"Issuer": "EmailBillApi",
|
|
|
|
|
"Audience": "EmailBillWeb",
|
|
|
|
|
"ExpirationHours": 7200
|
|
|
|
|
},
|
|
|
|
|
"AuthSettings": {
|
|
|
|
|
"Password": "SCsunch940622"
|
2025-12-26 18:08:40 +08:00
|
|
|
},
|
2025-12-29 15:20:32 +08:00
|
|
|
"Quartz": {
|
|
|
|
|
"quartz.scheduler.instanceName": "EmailBillScheduler",
|
|
|
|
|
"quartz.jobStore.type": "Quartz.Simpl.RAMJobStore, Quartz",
|
|
|
|
|
"quartz.threadPool.threadCount": 10
|
|
|
|
|
},
|
2025-12-26 18:08:40 +08:00
|
|
|
"OpenAI": {
|
|
|
|
|
"Endpoint": "https://api.deepseek.com/v1",
|
|
|
|
|
"Key": "sk-2240d91e2ab1475881147e3810b343d3",
|
|
|
|
|
"Model": "deepseek-chat"
|
2025-12-25 11:20:56 +08:00
|
|
|
}
|
|
|
|
|
}
|