From 52126fe1168669e686fb046dbc7a888c254720d7 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 02 一月 2025 15:35:39 +0800
Subject: [PATCH] 更新属性:移除并重新添加 CreatedOn,新增多个属性

---
 Tiger.IBusiness/Extensions/ResultExtension.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Tiger.IBusiness/Extensions/ResultExtension.cs b/Tiger.IBusiness/Extensions/ResultExtension.cs
index fc9de71..c71f836 100644
--- a/Tiger.IBusiness/Extensions/ResultExtension.cs
+++ b/Tiger.IBusiness/Extensions/ResultExtension.cs
@@ -17,7 +17,7 @@
 
         public static Result<T> CatchExceptionWithLog<T>(this Result<T> result, Exception ex, Locale localeMsg)
         {
-            result.CatchExceptionWithLog(ex, localeMsg);
+            result.CatchException(ex, localeMsg);
             Logger.Default.Fatal(ex, localeMsg.Default());
             return result;
         }
@@ -30,7 +30,7 @@
 
         public static Result<T> CatchExceptionWithLog<T>(this Result<T> result, Exception ex, string msg = null)
         {
-            result.CatchExceptionWithLog(ex, msg);
+            result.CatchException(ex, msg);
             Logger.Default.Fatal(ex, msg);
             return result;
         }
@@ -43,7 +43,7 @@
 
         public static Result CatchExceptionWithLog(this Result result, Exception ex, Locale localeMsg)
         {
-            result.CatchExceptionWithLog(ex, localeMsg);
+            result.CatchException(ex, localeMsg);
             Logger.Default.Fatal(ex, localeMsg.Default());
             return result;
         }
@@ -56,7 +56,7 @@
 
         public static Result CatchExceptionWithLog(this Result result, Exception ex, string msg = null)
         {
-            result.CatchExceptionWithLog(ex, msg);
+            result.CatchException(ex, msg);
             Logger.Default.Fatal(ex, msg);
             return result;
         }

--
Gitblit v1.9.3