From 7ff298c6834275b63b612af49651673689a39660 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 27 十一月 2024 11:33:18 +0800
Subject: [PATCH] 更新

---
 WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs
index 58fa356..31f31c7 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs
@@ -39,11 +39,10 @@
         /// </summary>
         /// <param name="sections">鑺傜偣閰嶇疆</param>
         /// <returns></returns>
-        public static string app(params string[] sections)
+        public static string Get(params string[] sections)
         {
             try
             {
-
                 if (sections.Any())
                 {
                     return Configuration[string.Join(":", sections)];
@@ -60,7 +59,7 @@
         /// <typeparam name="T"></typeparam>
         /// <param name="sections"></param>
         /// <returns></returns>
-        public static List<T> app<T>(params string[] sections)
+        public static List<T> Get<T>(params string[] sections)
         {
             List<T> list = new List<T>();
             // 寮曠敤 Microsoft.Extensions.Configuration.Binder 鍖�

--
Gitblit v1.9.3