From dcbd4934d063f471c01cbcf93574c2e2ac5f16b5 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 27 三月 2026 09:37:36 +0800
Subject: [PATCH] feat: 提交WCS与WMS代码调整

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Connection/RedisConnectionManager.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Connection/RedisConnectionManager.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Connection/RedisConnectionManager.cs
index a5e772f..8b697de 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Connection/RedisConnectionManager.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Connection/RedisConnectionManager.cs
@@ -3,6 +3,7 @@
 using StackExchange.Redis;
 using System.Linq;
 using WIDESEAWCS_Core.Helper;
+using WIDESEAWCS_Core.LogHelper;
 using WIDESEAWCS_RedisService.Options;
 
 namespace WIDESEAWCS_RedisService.Connection
@@ -59,16 +60,16 @@
 
                 var connection = ConnectionMultiplexer.Connect(configOptions);
                 connection.ConnectionFailed += (_, e) =>
-                    ConsoleHelper.WriteErrorLine($"Redis杩炴帴澶辫触: {e.FailureType}");
+                    QuartzLogger.Info($"Redis杩炴帴澶辫触: {e.FailureType}");
                 connection.ConnectionRestored += (_, e) =>
-                    ConsoleHelper.WriteSuccessLine($"Redis杩炴帴鎭㈠: {e.EndPoint}");
+                    QuartzLogger.Info($"Redis杩炴帴鎭㈠: {e.EndPoint}");
 
-                ConsoleHelper.WriteSuccessLine($"Redis杩炴帴鎴愬姛: {string.Join(",", configOptions.EndPoints)}");
+                QuartzLogger.Info($"Redis杩炴帴鎴愬姛: {string.Join(",", configOptions.EndPoints)}");
                 return connection;
             }
             catch (Exception ex)
             {
-                ConsoleHelper.WriteErrorLine($"Redis杩炴帴鍒涘缓澶辫触:{ex.Message}");
+                QuartzLogger.Error($"Redis杩炴帴鍒涘缓澶辫触:{ex.Message}",null, ex);
                 throw;
             }
         }

--
Gitblit v1.9.3