From 2aef482fa7431fb47eef94081ff23ec220f89820 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期五, 24 一月 2025 09:10:31 +0800
Subject: [PATCH] 1

---
 WIDESEAWCS_Server/WIDESEAWCS_Core/Extensions/AutofacModuleRegister.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/Extensions/AutofacModuleRegister.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/Extensions/AutofacModuleRegister.cs
index 8d19d8e..68ddb9f 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Core/Extensions/AutofacModuleRegister.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/Extensions/AutofacModuleRegister.cs
@@ -23,7 +23,7 @@
             var basePath = AppContext.BaseDirectory;
             var cacheType = new List<Type>();
 
-            if (AppSettings.Get(new string[] { "AppSettings", "LogAOP", "Enabled" }).ObjToBool())
+            if (AppSettings.Get("LogAopEnable").ObjToBool())
             {
                 builder.RegisterType<LogAOP>();
                 cacheType.Add(typeof(LogAOP));

--
Gitblit v1.9.3