Infrastructure/OpenAuth.WebApi/appsettings.json

104 lines
3.1 KiB
JSON
Raw Normal View History

2024-11-13 09:19:06 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Debug"
}
},
"AllowedHosts": "*",
"DataProtection": "temp-keys/",
"ConnectionStrings": {
//"OpenAuthDBContext": "PORT=5432;Database=hopetrycore;HOST=192.168.10.124;PASSWORD=123456;USER ID=postgres;",
2025-11-07 10:26:59 +08:00
"OpenAuthDBContext": "PORT=5432;Database=DataMaintenance;HOST=192.168.10.163;PASSWORD=123456;USER ID=postgres;"
2024-11-13 09:19:06 +08:00
//"OpenAuthDBContext": "PORT=5432;Database=;HOST=192.168.10.131;PASSWORD=123456;USER ID=postgres;"
},
"AppSetting": {
"IdentityServerUrl": "",
//IdentityServer服务器地址。如果为空则不启用OAuth认证
//"IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空则不启用OAuth认证
"DbTypes": {
"OpenAuthDBContext": "PostgreSQL"
//数据库类型SqlServer、MySql、Oracle、PostgreSQL
},
"UploadPath": "",
//附件上传的路径,如果为空则保存在站点根目录
"RedisConf": {
2025-11-27 09:46:53 +08:00
//"Conn": "192.168.10.163:6379,password=123456",
2025-11-06 16:42:59 +08:00
//"Conn": "127.0.0.1:9205",
2025-11-27 09:46:53 +08:00
"Conn": "127.0.0.1:6379,password=123456",
2025-10-09 10:05:08 +08:00
"Database": 7
2024-11-13 09:19:06 +08:00
},
//redis配置
"HttpHost": "http://*:10070 ",
2025-03-24 15:08:45 +08:00
//启动绑定地址及端口
2024-11-13 09:19:06 +08:00
"SYSTEM_USERPWD": "123456",
2025-10-09 10:05:08 +08:00
"ASECode": "hc",
2024-11-13 09:19:06 +08:00
"TopAreaCode": "371300",
//大屏最高行政区划编码
"SchemeCode": "0000001",
"SchemeId": "3b01384d-a42e-4772-8752-6fbf40f85959",
/**/
"IMOpen": true,
//false/true
//"IMUrl": "http://localhost:8989/"
"IMUrl": "",
"LimitShpDistance": 50
},
"PgSql": {
"PostGisPath": "E:\\DevelopTools\\PostgreSQL\\14\\bin",
"DataBase": "drone_enforcement_linyi_20240720",
"UserID": "postgres",
"PORT": "5432",
"Host": "192.168.10.102",
"Pwd": "123456"
},
"WeChat": {
"AppId": "wx16deccc21a95c9f9",
"AppSecret": "b35f7b9611e0e47a1e7fab57d5399202"
//"AppId": "wxafa1e8d0afb3997e",
//"AppSecret": "8f4ba2bf57c360d5b77751fc8a82701b"
},
"GeoServer": {
2025-04-17 14:48:05 +08:00
"GeoserverUrl": "http://192.168.10.163:8080/geoserver",
2024-11-13 09:19:06 +08:00
"JobwebUrl": "http://192.168.10.125:9023/",
"Workspace": "my_workspace",
"Username": "admin",
"Password": "geoserver",
"DbSchema": "public",
"DbStoreName": "cloud_shp_store",
"TiffStoreNamePrefix": "tiff_store",
"TiffDir": "E:/tiff"
},
2025-10-09 10:05:08 +08:00
"MQTT": {
"Server": "175.27.168.120",
"Port": 6011,
"UserName": "sdhc",
"Password": ""
},
2025-11-06 16:46:40 +08:00
"Hik": {
"Url": "221.2.83.54",
"Port": 1443,
"AppKey": "23604396",
"SecretKey": "NZJ8L3bxCOOV6rtTFjsx"
},
2026-01-05 11:16:42 +08:00
"Hik2": {
"Url": "223.99.16.253",
"Port": 1443,
"AppKey": "28135251",
"SecretKey": "V5nOdrZ7llDeNVP3KHX4"
},
2025-11-08 13:53:33 +08:00
"JPushClient": {
2025-11-08 14:07:37 +08:00
"AppKey": "bfee2a863eccbb852baa9140",
"MasterSecret": "019f8665e581318dfcbac060"
2025-11-08 13:53:33 +08:00
},
2025-04-01 10:14:19 +08:00
"FlyImageDir": "e:/fly",
"WebSocket": "ws://192.168.10.106:5698/ws",
"TaiShiGanZhi": {
"ApiUrl": "http://192.168.10.163:9024",
"ProjectId": "9679e92f-fa9c-4f51-92b9-dd97aaac7d64",
"LoginUrl": "/api/Check/Login",
"Username": "17853305028",
"Password": "e10adc3949ba59abbe56e057f20f883e",
"GetDronePortStateUrl": ""
}
2024-11-13 09:19:06 +08:00
}