2025-03-26 17:18:20 +08:00
|
|
|
|
{
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"Serilog": {
|
|
|
|
|
|
"Using": [
|
|
|
|
|
|
"Serilog.Sinks.Console",
|
|
|
|
|
|
"Serilog.Sinks.File"
|
|
|
|
|
|
],
|
|
|
|
|
|
"MinimumLevel": {
|
2025-04-27 16:32:03 +08:00
|
|
|
|
"Default": "Warning",
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"Override": {
|
2025-03-27 08:38:19 +08:00
|
|
|
|
"Microsoft": "Warning",
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"Volo.Abp": "Warning",
|
2025-03-27 08:38:19 +08:00
|
|
|
|
"Hangfire": "Warning",
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"DotNetCore.CAP": "Warning",
|
|
|
|
|
|
"Serilog.AspNetCore": "Information",
|
|
|
|
|
|
"Microsoft.EntityFrameworkCore": "Warning",
|
2025-04-24 00:34:00 +08:00
|
|
|
|
"Microsoft.AspNetCore": "Warning",
|
|
|
|
|
|
"Microsoft.AspNetCore.Diagnostics.HealthChecks": "Warning"
|
2024-12-19 16:07:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"WriteTo": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"Name": "Console"
|
|
|
|
|
|
},
|
2025-03-26 17:18:20 +08:00
|
|
|
|
{
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"Name": "File",
|
|
|
|
|
|
"Args": {
|
|
|
|
|
|
"path": "logs/logs-.txt",
|
|
|
|
|
|
"rollingInterval": "Day"
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
"App": {
|
|
|
|
|
|
"SelfUrl": "http://localhost:44315",
|
|
|
|
|
|
"CorsOrigins": "http://localhost:4200,http://localhost:3100"
|
|
|
|
|
|
},
|
2025-03-26 17:18:20 +08:00
|
|
|
|
"ConnectionStrings": {
|
2025-04-16 16:12:38 +08:00
|
|
|
|
"Default": "mongodb://mongo_PmEeF3:lixiao1980@192.168.1.9:27017/JiSheCollectBus?authSource=admin&maxPoolSize=400&minPoolSize=10&waitQueueTimeoutMS=5000",
|
2025-04-11 15:17:16 +08:00
|
|
|
|
"Kafka": "192.168.1.9:29092,192.168.1.9:39092,192.168.1.9:49092",
|
2025-03-26 17:18:20 +08:00
|
|
|
|
"PrepayDB": "server=118.190.144.92;database=jishe.sysdb;uid=sa;pwd=admin@2023;Encrypt=False;Trust Server Certificate=False",
|
|
|
|
|
|
"EnergyDB": "server=118.190.144.92;database=db_energy;uid=sa;pwd=admin@2023;Encrypt=False;Trust Server Certificate=False"
|
|
|
|
|
|
},
|
|
|
|
|
|
"Redis": {
|
2025-04-11 15:17:16 +08:00
|
|
|
|
"Configuration": "192.168.1.9:6380,password=1q2w3e!@#,syncTimeout=30000,abortConnect=false,connectTimeout=30000,allowAdmin=true",
|
2025-04-16 17:36:46 +08:00
|
|
|
|
"MaxPoolSize": "50",
|
2025-03-26 17:18:20 +08:00
|
|
|
|
"DefaultDB": "14",
|
2025-04-19 00:30:58 +08:00
|
|
|
|
"HangfireDB": "13"
|
2025-03-26 17:18:20 +08:00
|
|
|
|
},
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"Jwt": {
|
|
|
|
|
|
"Audience": "JiShe.CollectBus",
|
|
|
|
|
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
|
|
|
|
|
"Issuer": "JiShe.CollectBus",
|
|
|
|
|
|
"ExpirationTime": 2
|
|
|
|
|
|
},
|
2025-04-23 14:46:19 +08:00
|
|
|
|
"HealthChecks": {
|
2024-12-19 16:07:07 +08:00
|
|
|
|
"IsEnable": true,
|
2025-04-23 14:46:19 +08:00
|
|
|
|
"HealthCheckDatabaseName": "HealthChecks",
|
|
|
|
|
|
"EvaluationTimeInSeconds": 10,
|
|
|
|
|
|
"MinimumSecondsBetweenFailureNotifications": 60
|
2024-12-19 16:07:07 +08:00
|
|
|
|
},
|
|
|
|
|
|
"SwaggerConfig": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"GroupName": "Basic",
|
|
|
|
|
|
"Title": "【后台管理】基础模块",
|
|
|
|
|
|
"Version": "V1"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"GroupName": "Business",
|
|
|
|
|
|
"Title": "【后台管理】业务模块",
|
|
|
|
|
|
"Version": "V1"
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
2025-04-12 15:11:18 +08:00
|
|
|
|
"Kafka": {
|
|
|
|
|
|
"BootstrapServers": "192.168.1.9:29092,192.168.1.9:39092,192.168.1.9:49092",
|
2025-04-16 20:41:52 +08:00
|
|
|
|
"EnableFilter": true,
|
2025-04-12 15:11:18 +08:00
|
|
|
|
"EnableAuthorization": false,
|
2025-04-17 11:53:29 +08:00
|
|
|
|
"SecurityProtocol": "SaslPlaintext",
|
|
|
|
|
|
"SaslMechanism": "Plain",
|
2025-04-12 15:11:18 +08:00
|
|
|
|
"SaslUserName": "lixiao",
|
2025-04-17 13:35:08 +08:00
|
|
|
|
"SaslPassword": "lixiao1980",
|
|
|
|
|
|
"KafkaReplicationFactor": 3,
|
2025-04-17 19:41:09 +08:00
|
|
|
|
"NumPartitions": 30,
|
2025-04-29 11:43:16 +08:00
|
|
|
|
"ServerTagName": "JiSheCollectBus4",
|
2025-04-22 16:44:47 +08:00
|
|
|
|
"FirstCollectionTime": "2025-04-22 16:07:00"
|
2025-04-12 15:11:18 +08:00
|
|
|
|
},
|
2025-04-02 17:46:33 +08:00
|
|
|
|
"IoTDBOptions": {
|
|
|
|
|
|
"UserName": "root",
|
|
|
|
|
|
"Password": "root",
|
2025-04-11 15:17:16 +08:00
|
|
|
|
"ClusterList": [ "192.168.1.9:6667" ],
|
2025-04-07 10:56:40 +08:00
|
|
|
|
"PoolSize": 2,
|
2025-04-07 16:44:25 +08:00
|
|
|
|
"DataBaseName": "energy",
|
2025-04-22 17:58:14 +08:00
|
|
|
|
"OpenDebugMode": true,
|
2025-04-07 16:44:25 +08:00
|
|
|
|
"UseTableSessionPoolByDefault": false
|
2025-04-23 14:46:19 +08:00
|
|
|
|
},
|
2025-04-15 17:57:47 +08:00
|
|
|
|
"Cassandra": {
|
|
|
|
|
|
"ReplicationStrategy": {
|
|
|
|
|
|
"Class": "NetworkTopologyStrategy", //策略为NetworkTopologyStrategy时才会有多个数据中心,SimpleStrategy用在只有一个数据中心的情况下
|
|
|
|
|
|
"DataCenters": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"Name": "dc1",
|
|
|
|
|
|
"ReplicationFactor": 3
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
"Nodes": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"Host": "192.168.1.9",
|
|
|
|
|
|
"Port": 9042,
|
|
|
|
|
|
"DataCenter": "dc1",
|
|
|
|
|
|
"Rack": "RAC1"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"Host": "192.168.1.9",
|
|
|
|
|
|
"Port": 9043,
|
|
|
|
|
|
"DataCenter": "dc1",
|
|
|
|
|
|
"Rack": "RAC2"
|
2025-04-17 16:10:47 +08:00
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"Host": "192.168.1.9",
|
|
|
|
|
|
"Port": 9044,
|
|
|
|
|
|
"DataCenter": "dc1",
|
|
|
|
|
|
"Rack": "RAC2"
|
2025-04-15 17:57:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"Username": "admin",
|
|
|
|
|
|
"Password": "lixiao1980",
|
|
|
|
|
|
"Keyspace": "jishecollectbus",
|
|
|
|
|
|
"ConsistencyLevel": "Quorum",
|
|
|
|
|
|
"PoolingOptions": {
|
|
|
|
|
|
"CoreConnectionsPerHost": 4,
|
|
|
|
|
|
"MaxConnectionsPerHost": 8,
|
|
|
|
|
|
"MaxRequestsPerConnection": 2000
|
|
|
|
|
|
},
|
|
|
|
|
|
"SocketOptions": {
|
|
|
|
|
|
"ConnectTimeoutMillis": 10000,
|
|
|
|
|
|
"ReadTimeoutMillis": 20000
|
|
|
|
|
|
},
|
|
|
|
|
|
"QueryOptions": {
|
|
|
|
|
|
"ConsistencyLevel": "Quorum",
|
|
|
|
|
|
"SerialConsistencyLevel": "Serial",
|
|
|
|
|
|
"DefaultIdempotence": true
|
|
|
|
|
|
}
|
2025-04-23 14:46:19 +08:00
|
|
|
|
},
|
2025-04-25 09:28:20 +08:00
|
|
|
|
"ServerApplicationOptions": {
|
|
|
|
|
|
"ServerTagName": "JiSheCollectBus100",
|
2025-04-26 19:04:50 +08:00
|
|
|
|
"SystemType": null,
|
2025-04-25 09:28:20 +08:00
|
|
|
|
"FirstCollectionTime": "2025-04-22 16:07:00",
|
2025-04-27 09:40:31 +08:00
|
|
|
|
"AutomaticVerificationTime": "16:07:00",
|
2025-04-27 17:27:04 +08:00
|
|
|
|
"AutomaticTerminalVersionTime": "17:07:00",
|
|
|
|
|
|
"AutomaticTelematicsModuleTime": "17:30:00",
|
|
|
|
|
|
"AutomaticDayFreezeTime": "02:30:00",
|
|
|
|
|
|
"AutomaticMonthFreezeTime": "03:30:00",
|
2025-04-27 16:32:03 +08:00
|
|
|
|
"DefaultProtocolPlugin": "T37612012ProtocolPlugin"
|
2025-04-27 14:24:06 +08:00
|
|
|
|
},
|
2025-04-27 11:04:31 +08:00
|
|
|
|
"PlugInFolder": ""
|
2024-12-19 16:07:07 +08:00
|
|
|
|
}
|