This commit is contained in:
liwei1dao 2023-12-19 16:04:57 +08:00
commit 77c7b2accb

View File

@ -1088,7 +1088,7 @@ func (this *User) recoverUserPs(user *pb.DBUser) (change bool, total int32, next
return return
} }
total = pconf.PsCeiling total = pconf.PsCeiling
cur := time.Now().Unix() cur := configure.Now().Unix()
if user.LastRecoverPsSec == 0 { if user.LastRecoverPsSec == 0 {
user.LastRecoverPsSec = cur user.LastRecoverPsSec = cur
change = true change = true