duxin il y a 2 ans
Parent
commit
077100379c
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      src/jfw/modules/common/src/qfw/util/bidsearch/search.go

+ 4 - 2
src/jfw/modules/common/src/qfw/util/bidsearch/search.go

@@ -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)
 	}