From b809e50bb6d3d0424b24aca3a04694badf241947 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 24 Aug 2022 17:42:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=AD=A6=E9=A6=86=E9=A2=86?= =?UTF-8?q?=E5=8F=96=E5=A5=96=E5=8A=B1=E5=90=8E=20=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/martialhall/api_receive.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/martialhall/api_receive.go b/modules/martialhall/api_receive.go index edb8cfae6..5c950302a 100644 --- a/modules/martialhall/api_receive.go +++ b/modules/martialhall/api_receive.go @@ -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,