huangjiajun pirms 1 gada
vecāks
revīzija
a86d21e54b
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      app/task/svc/svc_playlet_adv_order.go

+ 4
- 1
app/task/svc/svc_playlet_adv_order.go Parādīt failu

@@ -101,7 +101,10 @@ func PlayletAdvOrderYesterday(hours int, runtimeStr string) {
syscfgDb := db.MasterListCfgDb{}
syscfgDb.Set()
playletVideoOrderYesterdayRuntime := syscfgDb.MasterListCfgGetOneData(uid, runtimeStr)
if utils.TimeStdParseUnix(playletVideoOrderYesterdayRuntime) > timeRange["start"] {
t := time.Now()
stime := time.Date(t.Year(), t.Month(), t.Day(), hours, 0, 0, 0, t.Location())

if utils.TimeStdParseUnix(playletVideoOrderYesterdayRuntime) > stime.Unix() {
return
}
var (


Notiek ielāde…
Atcelt
Saglabāt