diff --git a/modules/chat/api_getlist.go b/modules/chat/api_getlist.go index 0237e3bf0..91792038d 100644 --- a/modules/chat/api_getlist.go +++ b/modules/chat/api_getlist.go @@ -9,7 +9,7 @@ import ( //参数校验 func (this *apiComp) GetListCheck(session comm.IUserSession, req *pb.ChatGetListReq) (code pb.ErrorCode) { - if req.Channel == pb.ChatChannel_World && req.ChannelId == 0 { + if req.Channel == pb.ChatChannel_CrossServer && req.ChannelId == 0 { code = pb.ErrorCode_ReqParameterError } return diff --git a/modules/chat/api_send.go b/modules/chat/api_send.go index be0e21082..522d7a5b2 100644 --- a/modules/chat/api_send.go +++ b/modules/chat/api_send.go @@ -84,7 +84,6 @@ func (this *apiComp) Send(session comm.IUserSession, req *pb.ChatSendReq) (code return } //随机任务 - // this.module.ModuleRtask.SendToRtask(session, comm.Rtype62, 1) if _, err = this.service.AcrossClusterRpcGo( context.Background(), session.GetServiecTag(),