fix: 解决冲突

This commit is contained in:
徐俊杰 2025-06-19 16:17:32 +08:00
parent de98e69033
commit 5d8b72b499

View File

@ -263,8 +263,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() {
//获取最新数据时,重置新消息数量统计