上传评论与武馆的协议标题问题
This commit is contained in:
parent
21dabd2f98
commit
8d0652643f
@ -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 {
|
if hero, err = this.module.modelForum.watchHero(req.Stag, req.Uid, req.HerocId); err != nil {
|
||||||
code = pb.ErrorCode_HeroNoExist
|
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
|
return
|
||||||
}
|
}
|
||||||
|
@ -95,6 +95,6 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.MartialhallPrac
|
|||||||
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
|
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
|
||||||
filed: pillar,
|
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
|
return
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,6 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.MartialhallRecei
|
|||||||
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
|
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
|
||||||
filed: pillar,
|
filed: pillar,
|
||||||
})
|
})
|
||||||
session.SendMsg(string(this.module.GetType()), "info", &pb.MartialhallReceiveResp{})
|
session.SendMsg(string(this.module.GetType()), "receive", &pb.MartialhallReceiveResp{})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user