diff --git a/modules/chat/api_getlist.go b/modules/chat/api_getlist.go index 91792038d..2016442c5 100644 --- a/modules/chat/api_getlist.go +++ b/modules/chat/api_getlist.go @@ -61,12 +61,12 @@ func (this *apiComp) GetList(session comm.IUserSession, req *pb.ChatGetListReq) return } break - // case pb.ChatChannel_System: - // if list, err = this.module.modelChat.getChatQueue(req.Channel, session.GetServiecTag(), "", 0); err != nil { - // code = pb.ErrorCode_DBError - // return - // } - // break + case pb.ChatChannel_System: + if list, err = this.module.modelChat.getChatQueue(req.Channel, session.GetServiecTag(), "", 0); err != nil { + code = pb.ErrorCode_DBError + return + } + break default: code = pb.ErrorCode_ReqParameterError this.module.Errorf("getlist no support channel:%d ", req.Channel)