From 505effa88b17ce8c3c7ac5403b76d9e5d0cfc2a5 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 28 十月 2024 11:58:31 +0800 Subject: [PATCH] 谷歌版本问题修复 --- HDL_ON/Common/AliyunLog/AliyunLogClient.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs index 5a12209..20cb277 100644 --- a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs +++ b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs @@ -91,6 +91,13 @@ // } //} + + /// <summary> + /// 鏃ュ織鎺ㄩ�� + /// </summary> + /// <param name="topic">鎺ㄩ�佹爣棰�</param> + /// <param name="msg">鎺ㄩ�佷俊鎭�</param> + /// <returns></returns> public static async Task PostLogs(string topic, string msg) { if (client == null) @@ -111,7 +118,6 @@ LogTags = new Dictionary<string, string> { {"tag1", DateTime.Now.ToLongTimeString()}, - }, Logs = new List<LogInfo> { @@ -120,10 +126,13 @@ 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}, + {"userAccount", UserInfo.Current.AccountString}, {"userName", UserInfo.Current.userName}, + {"homeid", Entity.DB_ResidenceData.Instance.CurrentRegion.id}, + {"server", Entity.DB_ResidenceData.Instance.CurrentRegion.regionUrl}, {"message", msg}, } } -- Gitblit v1.8.0