From 3ec6774fca74a575325391f16fb9f2ca0bd461e7 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Fri, 10 Nov 2023 16:41:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=8D=8F=E8=AE=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/catchbugs/api_handle.go | 2 +- modules/egghunt/api_award.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/catchbugs/api_handle.go b/modules/catchbugs/api_handle.go index 6c7e6097a..bd8d855dc 100644 --- a/modules/catchbugs/api_handle.go +++ b/modules/catchbugs/api_handle.go @@ -43,6 +43,6 @@ func (this *apiComp) Handle(session comm.IUserSession, req *pb.CatchbugsHandleRe } return } - session.SendMsg(string(this.module.GetType()), "handle", &pb.CanineRabbitHandleResp{}) + session.SendMsg(string(this.module.GetType()), "handle", &pb.CatchbugsHandleResp{}) return } diff --git a/modules/egghunt/api_award.go b/modules/egghunt/api_award.go index c1f9265a0..512332e5e 100644 --- a/modules/egghunt/api_award.go +++ b/modules/egghunt/api_award.go @@ -56,7 +56,7 @@ func (this *apiComp) Award(session comm.IUserSession, req *pb.EgghuntAwardReq) ( "egg": info.Egg, }) - session.SendMsg(string(this.module.GetType()), "info", &pb.EgghuntAwardResp{Id: req.Id, Award: atno}) + session.SendMsg(string(this.module.GetType()), "award", &pb.EgghuntAwardResp{Id: req.Id, Award: atno}) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { this.module.WriteUserLog(session.GetUserId(), "EgghuntAwardReq", atno) })