上传武馆领取奖励后 状态修改
This commit is contained in:
parent
3edbb71e97
commit
b809e50bb6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user