From 42a7764d44e7d11252687ea09e9a0d42b7c6863a Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 3 Aug 2023 10:20:08 +0800 Subject: [PATCH] test --- app/task/svc/svc_playlet_adv_order.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/task/svc/svc_playlet_adv_order.go b/app/task/svc/svc_playlet_adv_order.go index 95aed47..5d788db 100644 --- a/app/task/svc/svc_playlet_adv_order.go +++ b/app/task/svc/svc_playlet_adv_order.go @@ -96,19 +96,19 @@ func PlayletAdvOrderYesterday(hours int, runtimeStr string) { timeRange := utils.GetTimeRange("today") hour := time.Now().Hour() if hour < hours { - return + //return } syscfgDb := db.MasterListCfgDb{} syscfgDb.Set() playletVideoOrderYesterdayRuntime := syscfgDb.MasterListCfgGetOneData(uid, runtimeStr) t := time.Now() - stime := time.Date(t.Year(), t.Month(), t.Day(), hours, 0, 0, 0, t.Location()) + stime := time.Date(t.Year(), t.Month(), t.Day(), hours+2, 0, 0, 0, t.Location()) if utils.TimeStdParseUnix(playletVideoOrderYesterdayRuntime) > stime.Unix() { return } var ( - beginTime int64 = timeRange["start"] - 86400 + beginTime int64 = timeRange["start"] - 86400*10 endTime int64 = timeRange["start"] pageNo int = 1 pageSize int = 200