From ddda51aecee60960f588c34aa56525f26a7f2feb Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 19 Dec 2023 17:54:16 +0800 Subject: [PATCH] =?UTF-8?q?#41509=20=E9=9C=80=E6=B1=82=20=E3=80=90?= =?UTF-8?q?=E6=A2=A6=E5=B7=A5=E5=9C=BA=E7=B3=BB=E7=BB=9F=E3=80=91=20<-?= =?UTF-8?q?=E7=AD=96=E5=88=92->=20=E3=80=90=E6=95=B0=E5=80=BC=E3=80=91?= =?UTF-8?q?=E5=8D=8A=E4=B8=AA=E5=B0=8F=E6=97=B6=E5=90=8E=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E6=98=AF=E5=9B=9E=E5=A4=8D=E5=88=B0160=20=E7=9B=AE=E5=89=8D?= =?UTF-8?q?=E6=9C=AA=E5=9B=9E=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/entertainment/model.go | 1 + modules/user/module.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/entertainment/model.go b/modules/entertainment/model.go index 5448cba96..32936e228 100644 --- a/modules/entertainment/model.go +++ b/modules/entertainment/model.go @@ -39,6 +39,7 @@ func (this *modelComp) getEntertainmList(uid string) (result *pb.DBXXLData, err Reward: map[int32]int32{}, Card: map[string]int32{}, + Skill: map[int32]int32{}, } if db.IsCross() { if tag, _, b := utils.UIdSplit(uid); b { diff --git a/modules/user/module.go b/modules/user/module.go index 0fa792eeb..eb9b9fabc 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -1088,7 +1088,7 @@ func (this *User) recoverUserPs(user *pb.DBUser) (change bool, total int32, next return } total = pconf.PsCeiling - cur := time.Now().Unix() + cur := configure.Now().Unix() if user.LastRecoverPsSec == 0 { user.LastRecoverPsSec = cur change = true