Merge branch 'main' into ec

This commit is contained in:
橙子
2021-11-09 18:51:16 +08:00
15 changed files with 490 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ namespace Yi.Framework.ApiMicroservice
.ConfigureAppConfiguration((hostBuilderContext, configurationBuilder) =>
{
configurationBuilder.AddCommandLine(args);
configurationBuilder.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false);
configurationBuilder.AddJsonFileService();
#region
//ApolloÅäÖÃ
#endregion

View File

@@ -70,6 +70,11 @@ namespace Yi.Framework.ApiMicroservice
#endregion
services.AddRabbitMQService();
#region
//ElasticSeach服务配置
#endregion
services.AddElasticSeachService();
#region
//短信服务配置
#endregion

View File

@@ -17,6 +17,7 @@
"Redis_Enabled": true,
"RedisSeed_Enabled": true,
"Kafka_Enabled": false,
"ElasticSeach_Enabled": false,
"MutiDB_Enabled": false,
"SMS_Enabled": true,
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
@@ -53,6 +54,10 @@
"Password": "cc",
"Port": 5672
},
"ElasticSeachConn": {
"Url": "",
"IndexName": ""
},
"KafkaOptions": {
"BrokerList": "192.168.3.230:9092",
"TopicName": "kafkalog"