验证码缓存接入

This commit is contained in:
陈淳
2022-10-28 14:25:59 +08:00
parent 9f5829876c
commit a667f1a65e
6 changed files with 21 additions and 8 deletions

View File

@@ -147,6 +147,7 @@ builder.Services.AddSingleton<ThumbnailSharpInvoer>();
//全局配置初始化值
#endregion
GobalModel.SqlLogEnable = Appsettings.appBool("SqlLog_Enable");
GobalModel.LoginCodeEnable = Appsettings.appBool("LoginCode_Enable");
//-----------------------------------------------------------------------------------------------------------
var app = builder.Build();
#region