From 96514c19bf6a333c6f9c6d01c9e7daeaab4087c0 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Sun, 28 Jun 2020 10:25:36 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/function.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index 5c77538..7573f24 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -490,10 +490,10 @@ func (u *UserData) HandlePassDay() { lasttimestamp := time.Date(lasttime.Year(), lasttime.Month(), lasttime.Day(), 0, 0, 0, 0, lasttime.Location()) logger.Info("HandlePassDay lasttime=%v,lasttimestamp=%v", lasttime, lasttimestamp) - logger.Info("HandlePassDay2 IsResetToday=%v,nowtimestampmin=%v", u.IsResetToday, nowtimestamp.Minute()) + logger.Info("HandlePassDay2 IsResetToday=%v,nowtimestampmin=%v", u.IsResetToday, nowtime.Minute()) //if u.IsResetToday == 0 && nowtimestamp.Hour() >= 12 { - if u.IsResetToday == 0 && nowtimestamp.Minute() >= 25 { + if u.IsResetToday == 0 && nowtime.Minute() >= 27 { u.DoubleLeftTimes = ACCGOLDRATELIMIT u.GetWatchAdsGoldTime = WATCHADSGOLDLIMIT u.DrawTicket = DRAWTICKETNUM -- libgit2 0.21.0