|
@@ -687,7 +687,7 @@ func getBidSearchQuery(area, publishtime, subtype string) string {
|
|
starttime = fmt.Sprint(time.Date(now.Year(), now.Month(), now.Day()-30, 0, 0, 0, 0, time.Local).Unix())
|
|
starttime = fmt.Sprint(time.Date(now.Year(), now.Month(), now.Day()-30, 0, 0, 0, 0, time.Local).Unix())
|
|
} else if publishtime == "thisyear" { //去年
|
|
} else if publishtime == "thisyear" { //去年
|
|
starttime = fmt.Sprint(time.Date(now.Year()-1, 1, 1, 0, 0, 0, 0, time.Local).Unix())
|
|
starttime = fmt.Sprint(time.Date(now.Year()-1, 1, 1, 0, 0, 0, 0, time.Local).Unix())
|
|
- endtime = fmt.Sprint(time.Date(now.Year(), 1, 1, 0, 0, 0, 0, time.Local).Unix())
|
|
|
|
|
|
+ endtime = fmt.Sprint(time.Date(now.Year()-1, 12, 31, 23, 59, 59, 0, time.Local).Unix())
|
|
} else {
|
|
} else {
|
|
starttime = strings.Split(publishtime, "_")[0]
|
|
starttime = strings.Split(publishtime, "_")[0]
|
|
endtime = strings.Split(publishtime, "_")[1]
|
|
endtime = strings.Split(publishtime, "_")[1]
|