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();