From a40848272e33822f72a7fe0310f079717bf73f23 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 18 十月 2024 16:21:39 +0800
Subject: [PATCH] 修复金茂科技系统,金茂光伏问题

---
 HDL_ON/Common/AliyunLog/AliyunLogClient.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs
index 3d5bda7..a63450f 100644
--- a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs
+++ b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs
@@ -118,7 +118,6 @@
                     LogTags = new Dictionary<string, string>
                     {
                         {"tag1", DateTime.Now.ToLongTimeString()},
-
                     },
                     Logs = new List<LogInfo>
                     {
@@ -127,10 +126,12 @@
                             Time = DateTimeOffset.Now,
                             Contents = new Dictionary<string, string>
                             {
-                                {"id", DateTime.Now.Ticks.ToString()},
-                                {"homeid", Entity.DB_ResidenceData.Instance.CurrentRegion.id},
+                                {"version", MainPage.VersionString},
+                                {"userAccount", UserInfo.Current.AccountString},
                                 {"userid", UserInfo.Current.ID},
                                 {"userName", UserInfo.Current.userName},
+                                {"homeid", Entity.DB_ResidenceData.Instance.CurrentRegion.id},
+                                {"server", Entity.DB_ResidenceData.Instance.CurrentRegion.regionUrl},
                                 {"message", msg},
                             }
                         }

--
Gitblit v1.8.0