diff --git a/modules/martialhall/api_practice.go b/modules/martialhall/api_practice.go index a2bab5e62..54ea05dc7 100644 --- a/modules/martialhall/api_practice.go +++ b/modules/martialhall/api_practice.go @@ -89,6 +89,7 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.MartialhallPrac pillar.State = pb.PillarState_Useing pillar.Hero = req.Hero pillar.Start = time.Now().Unix() + pillar.End = time.Now().Add(time.Minute * time.Duration(req.Time)).Unix() pillar.Lastbill = time.Now().Unix() pillar.Reward = 0 this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{