diff --git a/src/InterfaceForward.Api/appsettings.json b/src/InterfaceForward.Api/appsettings.json index ccc5b05..8ad5b8d 100644 --- a/src/InterfaceForward.Api/appsettings.json +++ b/src/InterfaceForward.Api/appsettings.json @@ -28,23 +28,32 @@ ] }, "ConnectionStrings": { - "Default": "server=baget.xiaolipro.cn;database=interface_forward;uid=dev;pwd=itd!@#123;charset=utf8mb4;" + "Default": "server=129.204.22.146;database=interface_forward;uid=dev;pwd=itd!@#123;charset=utf8mb4;" }, "FeiShuNotice": { "Title": "InterfaceForward-Dev", "Webhook": "https://open.feishu.cn/open-apis/bot/v2/hook/255c44ff-5891-4902-9b6a-6d0250e745f7", "Timeout": 20 }, + "Redis": { + "Host": "129.204.22.146:6379", + "Password": "itd!@#123", + "MaxPoolSize": 1000, + "Database": 0, + "Prefix": "" + }, "RabbitMQ": { - "Default": { - "Host": "baget.xiaolipro.cn", - "Port": 5672, - "UserName": "dev", - "Password": "itd!@#123" + "Connections": { + "Default": { + "Host": "129.204.22.146", + "Port": 5672, + "UserName": "dev", + "Password": "itd!@#123" + } } }, "ElasticSearch": { - "NodeUrls": [ "http://elasticsearch-dev.default.svc.cluster.local:9200" ], + "NodeUrls": [ "http://129.204.22.146:9200" ], "LoginName": "elastic", "Password": "afyTgmVb8jq6", "Base64PassPassword": "Basic ZWxhc3RpYzphZnlUZ21WYjhqcTY=" diff --git a/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs b/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs index 84d3dab..2c0cf24 100644 --- a/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs +++ b/src/InterfaceForward.Application/InterfaceForwardApplicationModule.cs @@ -3,12 +3,14 @@ using Fake.AspNetCore; using Fake.EventBus.RabbitMQ; using Fake.Modularity; using Fake.ObjectMapping.AutoMapper; +using Fake.RabbitMQ; using InterfaceForward.Application.Contracts; using InterfaceForward.Repositories; using Microsoft.Extensions.DependencyInjection; namespace InterfaceForward.Application; +[DependsOn(typeof(FakeRabbitMqModule))] [DependsOn(typeof(FakeAspNetCoreModule))] [DependsOn(typeof(FakeObjectMappingAutoMapperModule))] [DependsOn(typeof(FakeEventBusRabbitMqModule))]