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) })