From 2ec78835e454cecb95e48a2be2cb0b8393674ec5 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 31 三月 2026 10:27:16 +0800
Subject: [PATCH] fix(Sys_Dictionary): 修复数字字典中文映射

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs
index 642febb..3202c5a 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/AppSettings.cs
@@ -52,7 +52,10 @@
                     return Configuration[string.Join(":", sections)];
                 }
             }
-            catch (Exception) { }
+            catch (Exception ex)
+            {
+                Console.WriteLine($"AppSettings璇诲彇閰嶇疆澶辫触: {ex.Message}");
+            }
 
             return "";
         }
@@ -83,7 +86,10 @@
             {
                 return Configuration[sectionsPath];
             }
-            catch (Exception) { }
+            catch (Exception ex)
+            {
+                Console.WriteLine($"AppSettings璇诲彇閰嶇疆澶辫触: {ex.Message}");
+            }
 
             return "";
 

--
Gitblit v1.9.3