Bläddra i källkod

fix:log测试

duxin 2 år sedan
förälder
incheckning
8b53cc1892
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      src/jfw/modules/common/src/qfw/util/bidsearch/search.go

+ 3 - 1
src/jfw/modules/common/src/qfw/util/bidsearch/search.go

@@ -102,6 +102,9 @@ 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
 		}
@@ -560,7 +563,6 @@ func SearchData(platform string, request *http.Request, currentPage int, userId,
 		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)
 	}