first commot
This commit is contained in:
52
WebApi/appsettings.json
Normal file
52
WebApi/appsettings.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
],
|
||||
"FilterFromAddresses": [
|
||||
"95555@message.cmbchina.com",
|
||||
"ccsvc@message.cmbchina.com"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user