Browse Source

fix:删除测试log

duxin 2 years ago
parent
commit
6deef1270b
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/jfw/modules/common/src/qfw/util/bidsearch/search.go

+ 0 - 6
src/jfw/modules/common/src/qfw/util/bidsearch/search.go

@@ -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)
 		}
 		if repl != nil && *repl != nil && len(*repl) > 0 {
-			for _, v := range *repl {
-				log.Println("title+++++++++++", v["title"])
-			}
 			public.BidListConvert(industry, repl)
 			list = repl
 		}
@@ -559,9 +556,6 @@ 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 {
 		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)