|
|
@@ -102,7 +102,10 @@ func PlayletAdvOrderYesterday(hours int, runtimeStr string) { |
|
|
|
syscfgDb.Set() |
|
|
|
playletVideoOrderYesterdayRuntime := syscfgDb.MasterListCfgGetOneData(uid, runtimeStr) |
|
|
|
t := time.Now() |
|
|
|
stime := time.Date(t.Year(), t.Month(), t.Day(), hours+2, 0, 0, 0, t.Location()) |
|
|
|
if hours == 10 { |
|
|
|
hours += 4 |
|
|
|
} |
|
|
|
stime := time.Date(t.Year(), t.Month(), t.Day(), hours, 0, 0, 0, t.Location()) |
|
|
|
|
|
|
|
if utils.TimeStdParseUnix(playletVideoOrderYesterdayRuntime) > stime.Unix() { |
|
|
|
return |
|
|
|