From 377026b7ab4abe49f9b59dd5642b4329f86c06a3 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 11 Aug 2022 10:41:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E4=B8=9A=E5=8A=A1bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/chat/api_getlist.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/chat/api_getlist.go b/modules/chat/api_getlist.go index 4a5d5d895..9eb274e7e 100644 --- a/modules/chat/api_getlist.go +++ b/modules/chat/api_getlist.go @@ -50,13 +50,13 @@ func (this *apiComp) GetList(session comm.IUserSession, req *pb.ChatGetListReq) code = pb.ErrorCode_ReqParameterError return } - if list, err = this.module.modelChat.getChatQueue(req.Channel, session.GetServiecTag(), 0, req.ChannelId); err != nil { + if list, err = this.module.modelChat.getChatQueue(req.Channel, session.GetServiecTag(), "", req.ChannelId); err != nil { code = pb.ErrorCode_DBError return } break case pb.ChatChannel_System: - if list, err = this.module.modelChat.getChatQueue(req.Channel, session.GetServiecTag(), 0, 0); err != nil { + if list, err = this.module.modelChat.getChatQueue(req.Channel, session.GetServiecTag(), "", 0); err != nil { code = pb.ErrorCode_DBError return }