You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
3.7 KiB
120 lines
3.7 KiB
{
|
|
"App": {
|
|
"CorsOrigins": "http://localhost:9527,http://127.0.0.1:30000",
|
|
"Forwarded": {
|
|
"ForwardedHeaders": 5,
|
|
"KnownProxies": [
|
|
"127.0.0.1"
|
|
]
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"Default": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456",
|
|
"MessageService": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456",
|
|
"AbpTenantManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
|
|
"AbpSettingManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456",
|
|
"AbpPermissionManagement": "Server=127.0.0.1;Database=Platform;User Id=root;Password=123456"
|
|
},
|
|
"Redis": {
|
|
"Configuration": "127.0.0.1",
|
|
"InstanceName": "LINGYUN.AbpApplication",
|
|
"DefaultDatabase": 10
|
|
},
|
|
"AuthServer": {
|
|
"Authority": "http://localhost:44385/",
|
|
"ApiName": "auth-service"
|
|
},
|
|
"Hangfire": {
|
|
"MySql": {
|
|
"Connection": "Server=127.0.0.1;Database=Messages;User Id=root;Password=123456;Allow User Variables=true",
|
|
"TablePrefix": "AppHangfire"
|
|
}
|
|
},
|
|
"WeChat": {
|
|
"Auth": {
|
|
"AppId": "你自己的微信AppId",
|
|
"AppSecret": "你自己的微信AppSecret"
|
|
}
|
|
},
|
|
"Notifications": {
|
|
"WeChat": {
|
|
"WeApp": {
|
|
"DefaultWeAppState": "formal"
|
|
}
|
|
}
|
|
},
|
|
"CAP": {
|
|
"EventBus": {
|
|
"DefaultGroup": "MessageService",
|
|
"Version": "v1",
|
|
"FailedRetryInterval": 300,
|
|
"FailedRetryCount": 10
|
|
},
|
|
"RabbitMQ": {
|
|
"HostName": "127.0.0.1",
|
|
"Port": 5672,
|
|
"UserName": "admin",
|
|
"Password": "admin",
|
|
"ExchangeName": "LINGYUN.AbpApplication",
|
|
"VirtualHost": "multi.service.test"
|
|
}
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Debug",
|
|
"Override": {
|
|
"Microsoft.EntityFrameworkCore": "Debug",
|
|
"System": "Warning",
|
|
"Microsoft": "Warning"
|
|
}
|
|
},
|
|
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId" ],
|
|
"WriteTo": [
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Debug-.log",
|
|
"restrictedToMinimumLevel": "Debug",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Info-.log",
|
|
"restrictedToMinimumLevel": "Information",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Warn-.log",
|
|
"restrictedToMinimumLevel": "Warning",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Error-.log",
|
|
"restrictedToMinimumLevel": "Error",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/Fatal-.log",
|
|
"restrictedToMinimumLevel": "Fatal",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|