63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"App": {
|
|
"SelfUrl": "http://localhost:44315",
|
|
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://localhost"
|
|
},
|
|
"ConnectionStrings": {
|
|
"Default": "Data Source=localhost;Port=3306;Database=JiSheIoTProDB;uid=root;pwd=admin123;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true",
|
|
"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"
|
|
},
|
|
"Hangfire": {
|
|
"Redis": {
|
|
"Host": "192.168.5.9:6380,password=1q2w3e!@#",
|
|
"DB": "2"
|
|
}
|
|
},
|
|
"Redis": {
|
|
"Configuration": "192.168.5.9:6380,password=1q2w3e!@#,defaultdatabase=5"
|
|
},
|
|
"Kafka": {
|
|
"BootstrapServers": "192.168.5.9:29092,192.168.5.9:39092,192.168.5.9:49092",
|
|
"EnableFilter": true,
|
|
"EnableAuthorization": false,
|
|
"SaslUserName": "lixiao",
|
|
"SaslPassword": "lixiao1980",
|
|
"KafkaReplicationFactor": 3,
|
|
"NumPartitions": 30,
|
|
"TaskThreadCount": -1,
|
|
"FirstCollectionTime": "2025-04-22 16:07:00"
|
|
},
|
|
"IoTDBOptions": {
|
|
"UserName": "root",
|
|
"Password": "root",
|
|
"ClusterList": [ "121.42.175.177:16667" ],
|
|
"PoolSize": 32,
|
|
"DataBaseName": "energy",
|
|
"OpenDebugMode": true,
|
|
"UseTableSessionPoolByDefault": false
|
|
},
|
|
"Jwt": {
|
|
"Audience": "JiShe.IoT",
|
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
|
"Issuer": "JiShe.IoT",
|
|
"ExpirationTime": 2
|
|
},
|
|
"Cap": {
|
|
"RabbitMq": {
|
|
"HostName": "localhost",
|
|
"UserName": "admin",
|
|
"Password": "1q2w3E*",
|
|
"Port": 5672
|
|
}
|
|
},
|
|
"FreeRedisOptions": {
|
|
"ConnectionString": "192.168.5.9:6380,password=1q2w3e!@#,defaultdatabase=1",
|
|
"UseDistributedCache": true
|
|
},
|
|
"FreeSqlProviderOptions": {
|
|
"UsePrepayDB": true,
|
|
"UseEnergyDB": false,
|
|
"PrintLog": false
|
|
}
|
|
} |