|
@@ -78,7 +78,7 @@ func dealBidding() {
|
|
//默认 取大于 昨天的数据
|
|
//默认 取大于 昨天的数据
|
|
q = map[string]interface{}{
|
|
q = map[string]interface{}{
|
|
"comeintime": map[string]interface{}{
|
|
"comeintime": map[string]interface{}{
|
|
- "$gt": time.Date(now.Year(), now.Month(), now.Day(), now.Hour()-2, 0, 0, 0, now.Location()).Unix(),
|
|
|
|
|
|
+ "$gt": time.Date(now.Year(), now.Month(), now.Day(), now.Hour()-4, 0, 0, 0, now.Location()).Unix(),
|
|
},
|
|
},
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -296,7 +296,7 @@ func dealProject() {
|
|
//默认 取大于 昨天的数据
|
|
//默认 取大于 昨天的数据
|
|
q = map[string]interface{}{
|
|
q = map[string]interface{}{
|
|
"pici": map[string]interface{}{
|
|
"pici": map[string]interface{}{
|
|
- "$gt": time.Date(now.Year(), now.Month(), now.Day(), now.Hour()-2, 0, 0, 0, now.Location()).Unix(),
|
|
|
|
|
|
+ "$gt": time.Date(now.Year(), now.Month(), now.Day(), now.Hour()-8, 0, 0, 0, now.Location()).Unix(),
|
|
},
|
|
},
|
|
}
|
|
}
|
|
}
|
|
}
|