|
@@ -96,7 +96,7 @@ func PlayletAdvOrderYesterday(hours int, runtimeStr string) { |
|
|
timeRange := utils.GetTimeRange("today") |
|
|
timeRange := utils.GetTimeRange("today") |
|
|
hour := time.Now().Hour() |
|
|
hour := time.Now().Hour() |
|
|
if hour < hours { |
|
|
if hour < hours { |
|
|
//return |
|
|
|
|
|
|
|
|
return |
|
|
} |
|
|
} |
|
|
syscfgDb := db.MasterListCfgDb{} |
|
|
syscfgDb := db.MasterListCfgDb{} |
|
|
syscfgDb.Set() |
|
|
syscfgDb.Set() |
|
@@ -108,7 +108,7 @@ func PlayletAdvOrderYesterday(hours int, runtimeStr string) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
var ( |
|
|
var ( |
|
|
beginTime int64 = timeRange["start"] - 86400*10 |
|
|
|
|
|
|
|
|
beginTime int64 = timeRange["start"] - 86400 |
|
|
endTime int64 = timeRange["start"] |
|
|
endTime int64 = timeRange["start"] |
|
|
pageNo int = 1 |
|
|
pageNo int = 1 |
|
|
pageSize int = 200 |
|
|
pageSize int = 200 |
|
|