|
@@ -87,7 +87,6 @@ func GetPcBidSearchData(searchvalue, area, publishtime, subtype, industry, minpr
|
|
|
if isGetCount && qstr != "" && start == 0 {
|
|
|
count = elastic.Count(INDEX, TYPE, qstr)
|
|
|
}
|
|
|
- log.Println("count:", count, "--isGetCount:", isGetCount, "---", count, "----", start)
|
|
|
if !isGetCount || count > 0 || start > 0 {
|
|
|
var repl *[]map[string]interface{}
|
|
|
if hightlightContent {
|
|
@@ -458,7 +457,7 @@ func SearchData(platform string, request *http.Request, currentPage int, userId,
|
|
|
} else {
|
|
|
count, totalPage, list = GetPcBidSearchData(s_word, area, publishtime, subtype, industry, minprice, maxprice, winner, buyerclass, hasBuyerTel, hasWinnerTel, start, pageSize, isGetCount, queryItems, field, notkey, isPayedUser)
|
|
|
}
|
|
|
- log.Println(count, "----", len(*list))
|
|
|
+
|
|
|
if len([]rune(s_word)) > 3 && int(count) < SearchPageSize_PC && start == number {
|
|
|
var paramList = list
|
|
|
s_word, pcAjaxFlag, secondFlag, second, list = IntegratedData(platform, s_word, secondKWS, industry, minprice, maxprice, hasBuyerTel, hasWinnerTel, secondFlag, area, publishtime, subtype, buyerclass, notkey, queryItems, paramList)
|