From 65f12cc0194d13915b5f9dc40f6d130abff8fb96 Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Wed, 18 Jun 2025 16:19:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=AA=E8=AF=BB?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=BB=9F=E8=AE=A1=E6=97=A0=E6=B3=95=E6=B8=85?= =?UTF-8?q?=E9=9B=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/asChat/handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/service/asChat/handler.go b/pkg/service/asChat/handler.go index 0b5cd2c..55e614e 100644 --- a/pkg/service/asChat/handler.go +++ b/pkg/service/asChat/handler.go @@ -261,8 +261,8 @@ func (cr ChatHandler) MessageList(c *gin.Context) { // return // } //} - //messages := cr.cache.GetChatRecord(request.SessionId) - messages := []*accountFiee.ChatRecordData{} + messages := cr.cache.GetChatRecord(request.SessionId) + //messages := []*accountFiee.ChatRecordData{} var returnDataIdList = make([]int64, 0) defer func() { //获取最新数据时,重置新消息数量统计