From 6c1d1da4b8b796e2d9607ace2aabf95c3f533a45 Mon Sep 17 00:00:00 2001
From: wtp <1813748440@qq.com>
Date: Wed, 15 Mar 2023 09:20:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=97=B6=E9=97=B4=E5=AD=97?=
=?UTF-8?q?=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GDZZ.Application/GDZZ.Application.xml | 10 ++++++++++
.../LiveHistoryContacts/Dto/LiveHistoryContactsDto.cs | 6 ++++++
.../LiveHistoryContacts/LiveHistoryContactsService.cs | 1 +
3 files changed, 17 insertions(+)
diff --git a/GDZZ.Application/GDZZ.Application.xml b/GDZZ.Application/GDZZ.Application.xml
index 7f1facc..429616c 100644
--- a/GDZZ.Application/GDZZ.Application.xml
+++ b/GDZZ.Application/GDZZ.Application.xml
@@ -69,6 +69,11 @@
公司名称
+
+
+ 公司详情图片
+
+
意见反馈
@@ -1044,6 +1049,11 @@
最新消息内容
+
+
+ 最新消息时间格式
+
+
聊天记录输出参数
diff --git a/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsDto.cs b/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsDto.cs
index f6a22e6..16bb6e5 100644
--- a/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsDto.cs
+++ b/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsDto.cs
@@ -97,6 +97,12 @@ namespace GDZZ.Application
///
public string LastContent { get; set; }
+ ///
+ ///最新消息时间格式
+ ///
+
+ public DateTime LastSendTimeData { get; set; }
+
}
///
diff --git a/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs b/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs
index 481b729..bf13832 100644
--- a/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs
+++ b/GDZZ.Application/Service/LiveHistoryContacts/LiveHistoryContactsService.cs
@@ -150,6 +150,7 @@ namespace GDZZ.Application
if (live != null)
{
liveHis.LastSendTime = (live.SendTime.ToUniversalTime().Ticks - 621355968000000000) / 10000;
+ liveHis.LastSendTimeData = live.SendTime;
liveHis.LastContent = live.Content;
liveHis.Type = live.Type;
}