diff --git a/modules/forum/api_watchhero.go b/modules/forum/api_watchhero.go index 0731fb6f2..d35c0b433 100644 --- a/modules/forum/api_watchhero.go +++ b/modules/forum/api_watchhero.go @@ -27,6 +27,6 @@ func (this *apiComp) WatchHero(session comm.IUserSession, req *pb.ForumWatchHero if hero, err = this.module.modelForum.watchHero(req.Stag, req.Uid, req.HerocId); err != nil { code = pb.ErrorCode_HeroNoExist } - session.SendMsg(string(this.module.GetType()), "getlist", &pb.ForumWatchHeroResp{Hero: hero}) + session.SendMsg(string(this.module.GetType()), "watchhero", &pb.ForumWatchHeroResp{Hero: hero}) return } diff --git a/modules/martialhall/api_practice.go b/modules/martialhall/api_practice.go index 54ea05dc7..299d68197 100644 --- a/modules/martialhall/api_practice.go +++ b/modules/martialhall/api_practice.go @@ -95,6 +95,6 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.MartialhallPrac this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{ filed: pillar, }) - session.SendMsg(string(this.module.GetType()), "rractice", &pb.MartialhallPracticeResp{Pillar: req.Pillar, Hero: req.Hero, Issucc: true}) + session.SendMsg(string(this.module.GetType()), "practice", &pb.MartialhallPracticeResp{Pillar: req.Pillar, Hero: req.Hero, Issucc: true}) return } diff --git a/modules/martialhall/api_receive.go b/modules/martialhall/api_receive.go index f6b4c45e2..edb8cfae6 100644 --- a/modules/martialhall/api_receive.go +++ b/modules/martialhall/api_receive.go @@ -70,6 +70,6 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.MartialhallRecei this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{ filed: pillar, }) - session.SendMsg(string(this.module.GetType()), "info", &pb.MartialhallReceiveResp{}) + session.SendMsg(string(this.module.GetType()), "receive", &pb.MartialhallReceiveResp{}) return }