44 lines
930 B
JSON
44 lines
930 B
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Information",
|
||
"Microsoft.AspNetCore": "Warning"
|
||
}
|
||
},
|
||
"EventBus": {
|
||
"HostName": "127.0.0.1",
|
||
"ExchangeName": "qqbot"
|
||
},
|
||
"AllowedHosts": "*",
|
||
"JWT": {
|
||
"SigningKey": "JWT加密密钥(请严格保密)",
|
||
"ExpireSeconds": "86400"
|
||
},
|
||
"HttpReportsDashboard": {
|
||
"ExpireDay": 3,
|
||
"Storage": {
|
||
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=master;Trusted_Connection=True;TrustServerCertificate=true",
|
||
"DeferSecond": 10,
|
||
"DeferThreshold": 100
|
||
},
|
||
"Mail": {
|
||
"Server": "smtp.163.com",
|
||
"Port": 465,
|
||
"Account": "HttpReports@qq.com",
|
||
"Password": "*******",
|
||
"EnableSsL": true,
|
||
"Switch": true
|
||
}
|
||
},
|
||
"Adapters": {
|
||
"OneBot": {
|
||
"Bots": [
|
||
{
|
||
"Protocol": "WebSocket",
|
||
"Endpoint": "ws://127.0.0.1:8080"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|