From c00da77d00a479fa5d022346a6d9075f90a5c087 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期六, 14 九月 2024 10:05:34 +0800 Subject: [PATCH] 退出登录时间调整,新风,音乐 --- HDL_ON/Common/AliyunLog/AliyunLogClient.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/AliyunLog/AliyunLogClient.cs b/HDL_ON/Common/AliyunLog/AliyunLogClient.cs index 5a12209..c73b943 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) @@ -121,9 +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}, + {"homeid", Entity.DB_ResidenceData.Instance.CurrentRegion.id}, + {"server", Entity.DB_ResidenceData.Instance.CurrentRegion.regionUrl}, {"message", msg}, } } -- Gitblit v1.8.0