上传武馆领取奖励后 状态修改

This commit is contained in:
liwei1dao 2022-08-24 17:42:25 +08:00
parent 3edbb71e97
commit b809e50bb6

View File

@ -66,6 +66,8 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.MartialhallRecei
if code = this.module.ModuleHero.AddHeroExp(session, pillar.Hero, pillar.Reward); code != pb.ErrorCode_Success {
return
}
pillar.Hero = ""
pillar.State = pb.PillarState_NoUse
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
filed: pillar,