|
@@ -196,10 +196,10 @@ func (this *BidSearchExport) PassBidSearchExport(Sysconfig map[string]interface{
|
|
|
endTime := fmt.Sprint(time.Date(now.Year(), now.Month(), now.Day()+1, 0, 0, 0, 0, time.Local).Unix())
|
|
|
if this.Publishtime == "lately-7" { //最近7天
|
|
|
starttime := fmt.Sprint(time.Date(now.Year(), now.Month(), now.Day()-7, 0, 0, 0, 0, time.Local).Unix())
|
|
|
- publishtimeSave = fmt.Sprintf("%s_%d", starttime, endTime)
|
|
|
+ publishtimeSave = fmt.Sprintf("%s_%s", starttime, endTime)
|
|
|
} else if this.Publishtime == "lately-30" { //最近30天
|
|
|
starttime := fmt.Sprint(time.Date(now.Year(), now.Month(), now.Day()-30, 0, 0, 0, 0, time.Local).Unix())
|
|
|
- publishtimeSave = fmt.Sprintf("%s_%d", starttime, endTime)
|
|
|
+ publishtimeSave = fmt.Sprintf("%s_%s", starttime, endTime)
|
|
|
} else if this.Publishtime == "thisyear" { //去年
|
|
|
starttime := fmt.Sprint(time.Date(now.Year()-1, now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second(), 0, time.Local).Unix())
|
|
|
//endtime := fmt.Sprint(now.Unix())
|