|
@@ -491,7 +491,6 @@ func LisetData(stype, pageNum int, list *[]map[string]interface{}, secondFlag st
|
|
|
if list != nil && len(*list) > 0 {
|
|
|
if stype != 3 && stype != 4 {
|
|
|
for _, v := range *list {
|
|
|
- log.Println("title==========", v["title"])
|
|
|
if v["_id"] != nil {
|
|
|
v["_id"] = util.EncodeArticleId2ByCheck(v["_id"].(string))
|
|
|
}
|
|
@@ -557,8 +556,11 @@ func SearchData(platform string, request *http.Request, currentPage int, userId,
|
|
|
} 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)
|
|
|
}
|
|
|
-
|
|
|
+ for _, v := range *list {
|
|
|
+ log.Println("title==========", v["title"])
|
|
|
+ }
|
|
|
if len([]rune(s_word)) > 3 && int(count) < pageSize && start == number && secondSearch {
|
|
|
+ log.Println("二次查询++++++++++")
|
|
|
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)
|
|
|
}
|