bug处理
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"Cache": {
|
||||
"CacheType": "RedisCache", //MemoryCache
|
||||
"ip": "localhost",
|
||||
"ip": "192.168.11.109",
|
||||
"port": 6379,
|
||||
"password": "05jWEoJa8v",
|
||||
"RedisConnectionString": "{0}:{1},password={2}, poolsize=500,ssl=false,defaultDatabase=0"
|
||||
},
|
||||
"Redis": {
|
||||
"ip": "localhost",
|
||||
"ip": "192.168.11.109",
|
||||
"port": 6379,
|
||||
"password": "05jWEoJa8v",
|
||||
"RedisConnectionString": "{0}:{1},password={2}, poolsize=500,ssl=false,defaultDatabase=0"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"ConnectionStrings": {
|
||||
"ConfigId": "default",
|
||||
"DBType": "PostgreSQL", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite;
|
||||
"Host": "localhost",
|
||||
"Host": "192.168.11.109",
|
||||
//"Host": "127.0.0.1",
|
||||
"Port": "5432",
|
||||
//"DBName": "tianyi_db",
|
||||
|
||||
3
apihost/Tnb.API.Entry/Configurations/Location.json
Normal file
3
apihost/Tnb.API.Entry/Configurations/Location.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"TestLocation": "CP-A08-47"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"Nacos": {
|
||||
"EndPoint": "",
|
||||
"ServerAddresses": [ "http://localhost:8848/" ], // nacos服务端地址
|
||||
"DefaultTimeOut": 15000,
|
||||
"Namespace": "dev", // 服务注册到的命名空间id
|
||||
"ListenInterval": 1000,
|
||||
"ServiceName": "tnb-core", //服务名称
|
||||
"GroupName": "DEFAULT_GROUP", //服务分组
|
||||
"ClusterName": "DEFAULT",
|
||||
"Ip": "",
|
||||
"PreferredNetworks": "", // select an IP that matches the prefix as the service registration IP
|
||||
"Port": 9212,
|
||||
"Weight": 100, // 权重
|
||||
"RegisterEnabled": true,
|
||||
"InstanceEnabled": true,
|
||||
"Ephemeral": true,
|
||||
"Secure": false,
|
||||
"AccessKey": "",
|
||||
"SecretKey": "",
|
||||
"UserName": "nacos",
|
||||
"Password": "nacos",
|
||||
"ConfigUseRpc": true, // 为true时,通过 gRPC 去和 nacos server 交互,nacos 2.x版本要设置为true": null,
|
||||
"NamingUseRpc": true, // 为true时,通过 gRPC 去和 nacos server 交互, nacos 2.x版本要设置为true": null,
|
||||
"NamingLoadCacheAtStart": "",
|
||||
"LBStrategy": "WeightRandom", // WeightRandom WeightRoundRobin
|
||||
"Metadata": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user