From cbc156bc38d8b8eae7aef60cb186ab2b52fa701f Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 16 七月 2024 13:59:56 +0800
Subject: [PATCH] 增加全部挂断

---
 HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs b/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs
index 6a0f24c..110980b 100644
--- a/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs
+++ b/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs
@@ -89,7 +89,14 @@
                 form.AddForm(string.Empty);
                 form.SetTextContent(msg);
 
-            }, "ok");
+            }, "ok");
+
+            //涓婃姤鏃ュ織鏈嶅姟鍣�
+            new System.Threading.Thread(async () =>
+            {
+                await Common.AliyunLog.AliyunLogClient.PostLogs("App绋嬪簭閿欒", ex.Message + "\r\n" + ex.StackTrace);
+            })
+            { IsBackground = true }.Start();
         }
 
         /// <summary>
@@ -104,7 +111,13 @@
                 form.AddForm(string.Empty);
                 form.SetTextContent(msg);
 
-            }, "ok");
+            }, "ok");
+            //涓婃姤鏃ュ織鏈嶅姟鍣�
+            new System.Threading.Thread(async () =>
+            {
+                await Common.AliyunLog.AliyunLogClient.PostLogs("App绋嬪簭閿欒", msg);
+            })
+            { IsBackground = true }.Start();
         }
 
 

--
Gitblit v1.8.0