From 439d05654176664111063362ac5c98c772910faa Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期四, 12 九月 2024 12:05:01 +0800
Subject: [PATCH] 异常信息优化
---
HDL_ON/Common/AliyunLog/AliyunLogClient.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs
index 02c0336..c73b943 100644
--- a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs
+++ b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs
@@ -128,10 +128,11 @@
Contents = new Dictionary<string, string>
{
{"id", DateTime.Now.Ticks.ToString()},
- {"homeid", Entity.DB_ResidenceData.Instance.CurrentRegion.id},
+ {"userAccount", UserInfo.Current.AccountString},
{"userid", UserInfo.Current.ID},
{"userName", UserInfo.Current.userName},
- {"server", DAL.Server.HttpUtil.GlobalRequestHttpsHost},
+ {"homeid", Entity.DB_ResidenceData.Instance.CurrentRegion.id},
+ {"server", Entity.DB_ResidenceData.Instance.CurrentRegion.regionUrl},
{"message", msg},
}
}
--
Gitblit v1.8.0