|
@@ -102,9 +102,6 @@ func GetPcBidSearchData(searchvalue, area, city, publishtime, subtype, industry,
|
|
repl = elastic.GetAllByNgram(INDEX, TYPE, qstr, ``, bidSearch_sort, field, start, pageSize, 0, false)
|
|
repl = elastic.GetAllByNgram(INDEX, TYPE, qstr, ``, bidSearch_sort, field, start, pageSize, 0, false)
|
|
}
|
|
}
|
|
if repl != nil && *repl != nil && len(*repl) > 0 {
|
|
if repl != nil && *repl != nil && len(*repl) > 0 {
|
|
- for _, v := range *repl {
|
|
|
|
- log.Println("title+++++++++++", v["title"])
|
|
|
|
- }
|
|
|
|
public.BidListConvert(industry, repl)
|
|
public.BidListConvert(industry, repl)
|
|
list = repl
|
|
list = repl
|
|
}
|
|
}
|
|
@@ -559,9 +556,6 @@ func SearchData(platform string, request *http.Request, currentPage int, userId,
|
|
} else {
|
|
} else {
|
|
count, totalPage, list = GetPcBidSearchData(s_word, area, city, publishtime, subtype, industry, minprice, maxprice, winner, buyerclass, hasBuyerTel, hasWinnerTel, fileExists, start, isGetCount, queryItems, field, notkey, isPayedUser, searchTypeSwitch, bidField, pageSize, userId)
|
|
count, totalPage, list = GetPcBidSearchData(s_word, area, city, publishtime, subtype, industry, minprice, maxprice, winner, buyerclass, hasBuyerTel, hasWinnerTel, fileExists, start, isGetCount, queryItems, field, notkey, isPayedUser, searchTypeSwitch, bidField, pageSize, userId)
|
|
}
|
|
}
|
|
- for _, v := range *list {
|
|
|
|
- log.Println("title==========", v["title"])
|
|
|
|
- }
|
|
|
|
if len([]rune(s_word)) > 3 && int(count) < pageSize && start == number && secondSearch {
|
|
if len([]rune(s_word)) > 3 && int(count) < pageSize && start == number && secondSearch {
|
|
var paramList = list
|
|
var paramList = list
|
|
s_word, pcAjaxFlag, secondFlag, second, list = IntegratedData(platform, s_word, secondKWS, industry, minprice, maxprice, hasBuyerTel, hasWinnerTel, fileExists, secondFlag, area, city, publishtime, subtype, buyerclass, notkey, queryItems, paramList, field, searchTypeSwitch, bidField, pageSize)
|
|
s_word, pcAjaxFlag, secondFlag, second, list = IntegratedData(platform, s_word, secondKWS, industry, minprice, maxprice, hasBuyerTel, hasWinnerTel, fileExists, secondFlag, area, city, publishtime, subtype, buyerclass, notkey, queryItems, paramList, field, searchTypeSwitch, bidField, pageSize)
|