config(database): 更新数据库连接配置

- 修改 OpenAuthDBContext 连接字符串指向新的数据库服务器 192.168.10.163
- 移除注释中的旧数据库连接配置
- 清理 AppSetting 部分的注释配置项
- 移除微信配置中注释掉的测试应用ID和密钥
main
陈伟 2026-02-04 11:35:01 +08:00
parent 271a8dde90
commit 678858962b
1 changed files with 1 additions and 16 deletions

View File

@ -7,38 +7,25 @@
"AllowedHosts": "*",
"DataProtection": "temp-keys/",
"ConnectionStrings": {
//"OpenAuthDBContext": "PORT=5432;Database=hopetrycore;HOST=192.168.10.124;PASSWORD=123456;USER ID=postgres;",
"OpenAuthDBContext": "PORT=5432;Database=cultivated_land_destruction;HOST=192.168.10.163;PASSWORD=123456;USER ID=postgres;"
//"OpenAuthDBContext": "PORT=5432;Database=;HOST=192.168.10.131;PASSWORD=123456;USER ID=postgres;"
},
"AppSetting": {
"IdentityServerUrl": "",
//IdentityServerOAuth
//"IdentityServerUrl": "http://localhost:12796", //IdentityServerOAuth
"DbTypes": {
"OpenAuthDBContext": "PostgreSQL"
//SqlServerMySqlOraclePostgreSQL
},
"UploadPath": "",
//
"RedisConf": {
"Conn": "175.27.168.120:6050,password=HopetryRedis1406",
//"Conn": "127.0.0.1:6379,password=123456",
"Database": 5
},
//redis
"HttpHost": "http://*:10070 ",
//
"SYSTEM_USERPWD": "123456",
"ASECode": "hc",
"TopAreaCode": "371300",
//
"SchemeCode": "0000001",
"SchemeId": "3b01384d-a42e-4772-8752-6fbf40f85959",
/**/
"IMOpen": true,
//false/true
//"IMUrl": "http://localhost:8989/"
"IMUrl": "",
"LimitShpDistance": 50
},
@ -53,8 +40,6 @@
"WeChat": {
"AppId": "wx16deccc21a95c9f9",
"AppSecret": "b35f7b9611e0e47a1e7fab57d5399202"
//"AppId": "wxafa1e8d0afb3997e",
//"AppSecret": "8f4ba2bf57c360d5b77751fc8a82701b"
},
"GeoServer": {
"GeoserverUrl": "http://192.168.10.141:8080/geoserver",