diff --git a/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj b/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj
index 5501841..f6cdfbe 100644
--- a/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj
+++ b/web/JiShe.CollectBus.Host/JiShe.CollectBus.Host.csproj
@@ -19,6 +19,10 @@
+
+
+
+
@@ -52,6 +56,10 @@
-->
+
+
+
+
diff --git a/web/JiShe.CollectBus.Host/appsettings.json b/web/JiShe.CollectBus.Host/appsettings.json
index 2ee76e5..fe2bcf9 100644
--- a/web/JiShe.CollectBus.Host/appsettings.json
+++ b/web/JiShe.CollectBus.Host/appsettings.json
@@ -1,39 +1,4 @@
{
- "Serilog": {
- "Using": [
- "Serilog.Sinks.Console",
- "Serilog.Sinks.File"
- ],
- "MinimumLevel": {
- "Default": "Warning",
- "Override": {
- "Microsoft": "Warning",
- "Volo.Abp": "Warning",
- "Hangfire": "Warning",
- "DotNetCore.CAP": "Warning",
- "Serilog.AspNetCore": "Information",
- "Microsoft.EntityFrameworkCore": "Warning",
- "Microsoft.AspNetCore": "Warning",
- "Microsoft.AspNetCore.Diagnostics.HealthChecks": "Warning"
- }
- },
- "WriteTo": [
- {
- "Name": "Console"
- },
- {
- "Name": "File",
- "Args": {
- "path": "logs/logs-.txt",
- "rollingInterval": "Day"
- }
- }
- ]
- },
- "App": {
- "SelfUrl": "http://localhost:44315",
- "CorsOrigins": "http://localhost:4200,http://localhost:3100"
- },
"ConnectionStrings": {
"Default": "mongodb://mongo_PmEeF3:lixiao1980@192.168.5.9:27017/JiSheCollectBus?authSource=admin&maxPoolSize=400&minPoolSize=10&waitQueueTimeoutMS=5000",
"Kafka": "192.168.5.9:29092,192.168.5.9:39092,192.168.5.9:49092",
@@ -46,30 +11,6 @@
"DefaultDB": "14",
"HangfireDB": "13"
},
- "Jwt": {
- "Audience": "JiShe.CollectBus",
- "SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
- "Issuer": "JiShe.CollectBus",
- "ExpirationTime": 2
- },
- "HealthChecks": {
- "IsEnable": true,
- "HealthCheckDatabaseName": "HealthChecks",
- "EvaluationTimeInSeconds": 10,
- "MinimumSecondsBetweenFailureNotifications": 60
- },
- "SwaggerConfig": [
- {
- "GroupName": "Basic",
- "Title": "【后台管理】基础模块",
- "Version": "V1"
- },
- {
- "GroupName": "Business",
- "Title": "【后台管理】业务模块",
- "Version": "V1"
- }
- ],
"Kafka": {
"BootstrapServers": "192.168.5.9:29092,192.168.5.9:39092,192.168.5.9:49092",
"EnableFilter": true,
@@ -140,6 +81,65 @@
"DefaultIdempotence": true
}
},
+ "Serilog": {
+ "Using": [
+ "Serilog.Sinks.Console",
+ "Serilog.Sinks.File"
+ ],
+ "MinimumLevel": {
+ "Default": "Warning",
+ "Override": {
+ "Microsoft": "Warning",
+ "Volo.Abp": "Warning",
+ "Hangfire": "Warning",
+ "DotNetCore.CAP": "Warning",
+ "Serilog.AspNetCore": "Information",
+ "Microsoft.EntityFrameworkCore": "Warning",
+ "Microsoft.AspNetCore": "Warning",
+ "Microsoft.AspNetCore.Diagnostics.HealthChecks": "Warning"
+ }
+ },
+ "WriteTo": [
+ {
+ "Name": "Console"
+ },
+ {
+ "Name": "File",
+ "Args": {
+ "path": "logs/logs-.txt",
+ "rollingInterval": "Day"
+ }
+ }
+ ]
+ },
+ "App": {
+ "SelfUrl": "http://localhost:44315",
+ "CorsOrigins": "http://localhost:4200,http://localhost:3100"
+ },
+ "Jwt": {
+ "Audience": "JiShe.CollectBus",
+ "SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
+ "Issuer": "JiShe.CollectBus",
+ "ExpirationTime": 2
+ },
+ "HealthChecks": {
+ "IsEnable": false,
+ "HealthCheckDatabaseName": "HealthChecks",
+ "EvaluationTimeInSeconds": 10,
+ "MinimumSecondsBetweenFailureNotifications": 60
+ },
+ "SwaggerConfig": [
+ {
+ "GroupName": "Basic",
+ "Title": "【后台管理】基础模块",
+ "Version": "V1"
+ },
+ {
+ "GroupName": "Business",
+ "Title": "【后台管理】业务模块",
+ "Version": "V1"
+ }
+ ],
"ServerApplicationOptions": {
"ServerTagName": "JiSheCollectBus99",
"SystemType": "Energy",