2025-12-25 11:20:56 +08:00
|
|
|
|
{
|
|
|
|
|
|
"Logging": {
|
|
|
|
|
|
"LogLevel": {
|
|
|
|
|
|
"Default": "Information",
|
|
|
|
|
|
"Microsoft.AspNetCore": "Warning"
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"AllowedHosts": "*",
|
2026-01-02 12:25:44 +08:00
|
|
|
|
"NotificationSettings": {
|
|
|
|
|
|
"Subject": "mailto:sunchengsuncheng@gmail.com",
|
|
|
|
|
|
"PublicKey": "BL47vTtPwIb3vUsErdSQ0UtzTXFs2DJkdAefxTVSHGOlqoJOhKsHVgxoUsWt0YILYMe9R-cocG8Vd0zyj_eEfKM",
|
|
|
|
|
|
"PrivateKey": "wBMHddu7F3hK9ZodyYKF0F-Xf1_HeHLIo8ZddCrkINM"
|
|
|
|
|
|
},
|
2025-12-25 11:20:56 +08:00
|
|
|
|
"ConnectionStrings": {
|
|
|
|
|
|
"DefaultConnection": "Data Source=database/EmailBill.db"
|
|
|
|
|
|
},
|
|
|
|
|
|
"Serilog": {
|
|
|
|
|
|
"MinimumLevel": {
|
2025-12-30 11:07:14 +08:00
|
|
|
|
"Default": "Debug",
|
2025-12-25 11:20:56 +08:00
|
|
|
|
"Override": {
|
|
|
|
|
|
"Microsoft": "Warning",
|
|
|
|
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"WriteTo": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"Name": "Console"
|
|
|
|
|
|
},
|
2026-01-22 19:06:58 +08:00
|
|
|
|
{
|
2025-12-25 11:20:56 +08:00
|
|
|
|
"Name": "File",
|
|
|
|
|
|
"Args": {
|
|
|
|
|
|
"path": "logs/log-.txt",
|
|
|
|
|
|
"rollingInterval": "Day",
|
2025-12-30 11:07:14 +08:00
|
|
|
|
"retainedFileCountLimit": 30,
|
2026-01-22 19:06:58 +08:00
|
|
|
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] [{RequestId}] [{SourceContext}] {Message:lj}{NewLine}{Exception}"
|
2025-12-25 11:20:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"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"
|
2026-02-15 10:10:28 +08:00
|
|
|
|
},
|
|
|
|
|
|
"IconPromptSettings": {
|
|
|
|
|
|
"Version": "1.0.0",
|
|
|
|
|
|
"StyleStrength": 0.7,
|
|
|
|
|
|
"ColorScheme": "single-color",
|
|
|
|
|
|
"EnableNewPrompt": true,
|
|
|
|
|
|
"GrayScaleRatio": 0.1,
|
|
|
|
|
|
"AbstractCategories": {
|
|
|
|
|
|
"其他": {
|
|
|
|
|
|
"GeometryShape": "circle",
|
|
|
|
|
|
"ColorCode": "#9E9E9E"
|
|
|
|
|
|
},
|
|
|
|
|
|
"通用": {
|
|
|
|
|
|
"GeometryShape": "square",
|
|
|
|
|
|
"ColorCode": "#BDBDBD"
|
|
|
|
|
|
},
|
|
|
|
|
|
"未知": {
|
|
|
|
|
|
"GeometryShape": "triangle",
|
|
|
|
|
|
"ColorCode": "#E0E0E0"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-16 21:55:38 +08:00
|
|
|
|
},
|
|
|
|
|
|
"IconifySettings": {
|
|
|
|
|
|
"ApiUrl": "https://api.iconify.design/search",
|
|
|
|
|
|
"DefaultLimit": 20,
|
|
|
|
|
|
"MaxRetryCount": 3,
|
|
|
|
|
|
"RetryDelayMs": 1000
|
|
|
|
|
|
},
|
|
|
|
|
|
"SearchKeywordSettings": {
|
|
|
|
|
|
"KeywordPromptTemplate": "为以下中文分类名称生成3-5个相关的英文搜索关键字,用于搜索图标:{categoryName}。输出格式为JSON数组,例如:[\"food\", \"restaurant\", \"dining\"]。"
|
2025-12-25 11:20:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|