From e2a18ad132478a88c700e6105591340c22b5a6c1 Mon Sep 17 00:00:00 2001 From: zpc Date: Tue, 9 Jul 2024 04:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/0-core/HuanMeng.MiaoYu.Code/HuanMeng.MiaoYu.Code.csproj | 1 + .../HuanMeng.MiaoYu.Model/HuanMeng.MiaoYu.Model.csproj | 1 + src/2-api/HuanMeng.MiaoYu.WebApi/Program.cs | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/0-core/HuanMeng.MiaoYu.Code/HuanMeng.MiaoYu.Code.csproj b/src/0-core/HuanMeng.MiaoYu.Code/HuanMeng.MiaoYu.Code.csproj index e866572..fe26c1c 100644 --- a/src/0-core/HuanMeng.MiaoYu.Code/HuanMeng.MiaoYu.Code.csproj +++ b/src/0-core/HuanMeng.MiaoYu.Code/HuanMeng.MiaoYu.Code.csproj @@ -4,6 +4,7 @@ net8.0 enable enable + True diff --git a/src/0-core/HuanMeng.MiaoYu.Model/HuanMeng.MiaoYu.Model.csproj b/src/0-core/HuanMeng.MiaoYu.Model/HuanMeng.MiaoYu.Model.csproj index 2b25295..1e8b420 100644 --- a/src/0-core/HuanMeng.MiaoYu.Model/HuanMeng.MiaoYu.Model.csproj +++ b/src/0-core/HuanMeng.MiaoYu.Model/HuanMeng.MiaoYu.Model.csproj @@ -4,6 +4,7 @@ net8.0 enable enable + True diff --git a/src/2-api/HuanMeng.MiaoYu.WebApi/Program.cs b/src/2-api/HuanMeng.MiaoYu.WebApi/Program.cs index 5507433..1fd0f8c 100644 --- a/src/2-api/HuanMeng.MiaoYu.WebApi/Program.cs +++ b/src/2-api/HuanMeng.MiaoYu.WebApi/Program.cs @@ -66,15 +66,18 @@ builder.Services.AddSwaggerGen(c => if (File.Exists(xmlPath)) { c.IncludeXmlComments(xmlPath); - } } c.ParameterFilter(); c.RequestBodyFilter(); }); +//添加多租户 builder.AddMultiTenantMiaoYu(); +//添加腾讯云管理 builder.AddTencent(); +//添加验证码组件 builder.AddMemoryVerificationCode(); +//添加jwt验证 builder.AddJwtConfig(); var app = builder.Build();