Browse Source

feat:删除日志

wangshan 3 years ago
parent
commit
c1052e15f1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/jfw/modules/common/src/qfw/util/bidsearch/search.go

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

@@ -87,7 +87,6 @@ func GetPcBidSearchData(searchvalue, area, publishtime, subtype, industry, minpr
 	if isGetCount && qstr != "" && start == 0 {
 		count = elastic.Count(INDEX, TYPE, qstr)
 	}
-	log.Println("count:", count, "--isGetCount:", isGetCount, "---", count, "----", start)
 	if !isGetCount || count > 0 || start > 0 {
 		var repl *[]map[string]interface{}
 		if hightlightContent {
@@ -458,7 +457,7 @@ func SearchData(platform string, request *http.Request, currentPage int, userId,
 	} else {
 		count, totalPage, list = GetPcBidSearchData(s_word, area, publishtime, subtype, industry, minprice, maxprice, winner, buyerclass, hasBuyerTel, hasWinnerTel, start, pageSize, isGetCount, queryItems, field, notkey, isPayedUser)
 	}
-	log.Println(count, "----", len(*list))
+
 	if len([]rune(s_word)) > 3 && int(count) < SearchPageSize_PC && start == number {
 		var paramList = list
 		s_word, pcAjaxFlag, secondFlag, second, list = IntegratedData(platform, s_word, secondKWS, industry, minprice, maxprice, hasBuyerTel, hasWinnerTel, secondFlag, area, publishtime, subtype, buyerclass, notkey, queryItems, paramList)