|
@@ -508,7 +508,7 @@ func (so *SearchOptimize) GetBidSearchQuery() string {
|
|
|
} else if publishTime == "fiveyear" { //最近五年
|
|
|
startTime = fmt.Sprint(time.Date(now.Year()-5, now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second(), 0, time.Local).Unix())
|
|
|
endTime = fmt.Sprint(now.Unix())
|
|
|
- } else if len(strings.Split(publishTime, "-")) > 1 {
|
|
|
+ } else if len(strings.Split(publishTime, "_")) > 1 {
|
|
|
startTime = strings.Split(publishTime, "_")[0]
|
|
|
endTime = strings.Split(publishTime, "_")[1]
|
|
|
etTime := time.Now()
|