From 052822208e6622ed95b0a6bbb7ce8eaf002059c0 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 18 Aug 2022 19:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=AD=A6=E9=A6=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/martialhall/api_practice.go | 1 + 1 file changed, 1 insertion(+) 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{}{