|
@@ -237,7 +237,7 @@ func GetUserMailEmployData() []*Bidding {
|
|
}
|
|
}
|
|
layout := "2006-01-02 15:04"
|
|
layout := "2006-01-02 15:04"
|
|
nowt := time.Now()
|
|
nowt := time.Now()
|
|
- start, _ := time.ParseInLocation(layout, nowt.Add(-time.Duration(Config.RuleTime)*time.Minute).Format(layout), time.Local)
|
|
|
|
|
|
+ start, _ := time.ParseInLocation(layout, nowt.Add(-time.Duration(gconv.Int64(Config.AppUser["ruleTime"]))*time.Minute).Format(layout), time.Local)
|
|
end, _ := time.ParseInLocation(layout, nowt.Format(layout), time.Local)
|
|
end, _ := time.ParseInLocation(layout, nowt.Format(layout), time.Local)
|
|
log.Println(start, end)
|
|
log.Println(start, end)
|
|
sid := bson.NewObjectIdWithTime(start)
|
|
sid := bson.NewObjectIdWithTime(start)
|